ESB-2018.1163 - [Win][UNIX/Linux][BSD][FreeBSD] nghttp2: Denial of service - Remote/unauthenticated 2018-04-16

Printable version
PGP/GPG verifiable version

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2018.1163
             Denial of service due to NULL pointer dereference
                               16 April 2018

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           nghttp2
Publisher:         FreeBSD
Operating System:  FreeBSD
                   BSD variants
                   UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2018-1000168  

Original Bulletin: 
   http://www.vuxml.org/freebsd/1fccb25e-8451-438c-a2b9-6a021e4d7a31.html

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than FreeBSD. It is recommended that administrators
         running nghttp2 check for an updated version of the software for 
         their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

nghttp2 -- Denial of service due to NULL pointer dereference

Affected packages
1.10.0 <= libnghttp2 < 1.31.1
1.10.0 <= nghttp2    < 1.31.1

Details

VuXML ID  1fccb25e-8451-438c-a2b9-6a021e4d7a31
Discovery 2018-04-04
Entry     2018-04-13

nghttp2 blog:

    If ALTSVC frame is received by libnghttp2 and it is larger than it can
    accept, the pointer field which points to ALTSVC frame payload is left
    NULL. Later libnghttp2 attempts to access another field through the
    pointer, and gets segmentation fault.

    ALTSVC frame is defined by RFC 7838.

    The largest frame size libnghttp2 accept is by default 16384 bytes.

    Receiving ALTSVC frame is disabled by default. Application has to enable it
    explicitly by calling nghttp2_option_set_builtin_recv_extension_type(opt,
    NGHTTP2_ALTSVC).

    Transmission of ALTSVC is always enabled, and it does not cause this
    vulnerability.

    ALTSVC frame is expected to be sent by server, and received by client as
    defined in RFC 7838.

    Client and server are both affected by this vulnerability if the reception
    of ALTSVC frame is enabled. As written earlier, it is useless to enable
    reception of ALTSVC frame on server side. So, server is generally safe
    unless application accidentally enabled the reception of ALTSVC frame.


References

CVE Name CVE-2018-1000168
URL      https://nghttp2.org/blog/2018/04/12/nghttp2-v1-31-1/

- -------------------------------------------------------------------------------

Copyright (C) 2003-2005 Jacques Vidrine and contributors.
Please see the source of this document for full copyright information.

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWtRMZYx+lLeg9Ub1AQjMfg/8DYQRNhRw85aq3EAxgiLSZvpp/paHKxsB
Zd0221Ug8/5wJbuSODlNHW7bWxqd8ZrqeXLtUxtgSLex+XoEgXZPALOmOHQ5/H5R
9Hqkf7xL8t3Kj+AmJFAo4CJhOzK9oHtH/32MXstKxYmcExgLqNLIvIMRdNc2auhY
JvrvD54MmqPmmrV7SZvfKpAJlH+A7wxXeWsTlyyjXfkG7+NVeIxlntIHhASdWltH
nae0/DLhrkvsB/2M6+Pk82hMpKKuv6n/Z0nbUl5gfo8ayXCV7l05m8xeFtjkC1BY
aBLIFmGHv50CUDXBursIS3ej7QgOmf5QslD+w+mAdERT65dAI7AS+3YNe93PMkeZ
qde4hDBjEVFs2reS+fZC810Xm4PvMUVfGIUuPWevXGsnnlfS0uEe+w4I0ApyWDlw
xlr+90YtQJycCSUdyO+LQ8LnKajsHrr3iMTrgWrr2t+3bKkV0LnPCKRAnUFelA0l
vfVYNmf2E6nDqduQv93ALVUWbRbuZZcY0fUakj1rrSNCrmOcbFgTuLIMxAnLekB5
l2YHrCEdRVHqix6W9rQGVao4MwjKGVtkTkQOKFCCAhoWZW3utedgJaLYIKUbyKzP
+EiJJe8ADhNa0bnz7LE+EW51U9Z8qrfYrG82qIRh20JkaTxG89ZZgjbDpHLaz5g2
Au9othHd3Ps=
=Air6
-----END PGP SIGNATURE-----

« Back to bulletins