[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVE-2016-8740, Server memory can be exhausted and service denied when HTTP/2 is used
- To: team@xxxxxxxxxxxxx, info@xxxxxxxxxxx, info@xxxxxxxxxx, cirt@xxxxxxxxxxx, cert@xxxxxxxxxx, cyber-incident@xxxxxxxxxxx, info@xxxxxxxxxxx, ctir@xxxxxxxxxxx, first-team@xxxxxxxxxxxx, liz.thomas@xxxxxxxxxxxx, contacto@xxxxxxxxx, cirt@xxxxxxx, contacto@xxxxxxxxxxxxxx, cert@xxxxxxx, info@xxxxxxxxxxx, certbund@xxxxxxxxxxx, enquiries@xxxxxxxxxxxxxxxx, cert-mx@xxxxxxxxxx, report@xxxxxxx, info@xxxxxxxxxxx, info@xxxxxxxx, info@xxxxxxx, info@xxxxxxxxxxxx, incidents@xxxxxxxxx, ured@xxxxxxxxx, info@xxxxxxxxxxx, ecs-csirt@xxxxxxxxxxxx, team@xxxxxxxxxxxxxx, incident@xxxxxxxxx, cert@xxxxxxxxxxx, ethiocert@xxxxxxxxxxx, team@xxxxxxxxxxx, gov-cert@xxxxxxxxxxx, cert@xxxxxxxxxxxxxx, hkcert@xxxxxxxxxx, cert@xxxxxxx, info@xxxxxxxxxxxxxx, cert@xxxxxxxxx, cert-team@xxxxxxxxxxx, global-cc@xxxxxxxxxxxx, incidents@xxxxxxxxxxxxx, kn-cert@xxxxxxxxxx, submit@xxxxxxxxxx, csirtmalta@xxxxxx, infoteam@xxxxxxxxxxxxx, office@xxxxxxxxxxxxxx, soc@xxxxxxxx, cncert@xxxxxxxxxxx, cert@xxxxxxx, bugtraq@xxxxxxxxxxxxxxxxx, kontakt@xxxxxxx, alcirt@xxxxxxxxxxx, info@xxxxxxxxxxxx, info@xxxxxxxxxxx, cert@xxxxxxxxxx, pecert@xxxxxxxxxx, cert@xxxxxxx, sec@xxxxxxxxxxxx, fulldisclosure@xxxxxxxxxxxx, singcert@xxxxxxxxxx, si-cert@xxxxxxxx, slcert@xxxxxxxxxxx, twncert@xxxxxxxxxxxxxx, office@xxxxxxxxxxxxxx, cert@xxxxxxxxxxx, tuncert@xxxxxxx, info@xxxxxxxxxx, soc@xxxxxxxxxxx, cert@xxxxxxxxxxxx, internationalcooperation@xxxxxxxxx, info@xxxxxxx, info@xxxxxxxxxxx, cert-eu@xxxxxxxxxxxx, apcert-sec@xxxxxxxxxx, cert@xxxxxxx, reports@xxxxxxxxxxxxx, cert@xxxxxxx, info@xxxxxxxxxxxx, first-sec@xxxxxxxxx, distros@xxxxxxxxxxxxxxx, cve-assign@xxxxxxxxx, announce@xxxxxxxxxxxxxxxx
- Subject: CVE-2016-8740, Server memory can be exhausted and service denied when HTTP/2 is used
- From: Eissing Stefan <stefan.eissing@xxxxxxxxx>
- Date: Mon, 5 Dec 2016 12:33:40 +0100
- Cc: httpd-security <security@xxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:mime-version:subject:date:message-id:cc:to; bh=iP6EqQFYd6BUu/8QopWOO48nW3ZqJdcLaqrKSey71YY=; b=r9Hw9J88eYaUkC2+YNq3I5Mc/BS9oCuJZLnbcjUoRBXHpPg96kXiXiLLKY1XlEM5FB rMMk1FsZ7R+x7pldblSjzWV+6SzhECNYNr28Rupigiq/i+b2X28VY+OQ0DvyCGQuzDDR d0nIF+RC5KuTBDquKEpjrPU8lFKTRJaUkMM4rUPd11BTeyVIjrQ6aTFH3i+QVzASlFL+ Yoontk50HlRYuD/SG8SRtH50USX6Cq5AeHqAqK5HfqwWoneGWFSRZruNS8s0uUaNtw25 DDOOGeJPyv6AExdrUQqXCKcjZbFd1Z4sbxD73/ogOJYfQguGIMSCKavWr1q5JyWJbKBE nrVw==
- List-help: <mailto:email@example.com>
- List-id: <bugtraq.list-id.securityfocus.com>
- List-post: <mailto:firstname.lastname@example.org>
- List-subscribe: <mailto:email@example.com>
- List-unsubscribe: <mailto:firstname.lastname@example.org>
- Mailing-list: contact bugtraq-help@xxxxxxxxxxxxxxxxx; run by ezmlm
- Reply-to: icing@xxxxxxxxxx
Security Advisory - Apache Software Foundation
Apache HTTPD WebServer / httpd.apache.org
Server memory can be exhausted and service denied when HTTP/2 is used
The Apache HTTPD web server (from 2.4.17-2.4.23) did not apply limitations
on request headers correctly when experimental module for the HTTP/2
protocol is used to access a resource.
The net result is that a the server allocates too much memory instead of denying
the request. This can lead to memory exhaustion of the server by a properly
Apache has limits on the number and length of request header fields. which
limits the amount of memory a client can allocate on the server for a request.
Version 2.4.17 of the Apache HTTP Server introduced an experimental feature:
mod_http2 for the HTTP/2 protocol (RFC7540, previous versions were known as
This module is NOT compiled in by default -and- is not enabled by default,
although some distribution may have chosen to do so.
It is generally needs to be enabled in the 'Protocols' line in httpd by
adding 'h2' and/or 'h2c' to the 'http/1.1' only default.
The default distributions of the Apache Software Foundation do not include
this experimental feature.
- From version 2.4.17, upto and including version 2.4.23 the server failed
to take the limitations on request memory use into account when providing
access to a resource over HTTP/2. This issue has been fixed
in version 2.4.23 (r1772576).
As a result - with a request using the HTTP/2 protocol a specially crafted
request can allocate memory on the server until it reaches its limit. This can
lead to denial of service for all requests against the server.
This can lead to denial of service for all server resources.
All versions from 2.4.17 to 2.4.23.
For a 2.4.23 version a patch is supplied. This will be included in the
Mitigations and work arounds:
As a temporary workaround - HTTP/2 can be disabled by changing
the configuration by removing h2 and h2c from the Protocols
line(s) in the configuration file.
The resulting line should read:
Credits and timeline
The flaw was found and reported by Naveen Tiwari <naveen.tiwari@xxxxxxx>
and CDF/SEFCOM at Arizona State University on 2016-11-22. The issue was
resolved by Stefan Eissing and incorporated in the Apache repository,
ready for inclusion in the next release.
Apache would like to thank all involved for their help with this.
Patch against 2.4.23 release source:
Description: Binary data