CVE-2016-8740 Denial of service in Apache HTTP Server

High 7.5 Published Updated

Remote attackers can cause denial of service via memory consumption in Apache HTTP Server when HTTP/2 protocols are enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-8740?

CVE-2016-8740 is a high-severity denial of service vulnerability in Apache Http Server, published on 5 Dec 2016. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The mod_http2 module in the Apache HTTP Server 2.4.17 through 2.4.23, when the Protocols configuration includes h2 or h2c, does not restrict request-header length, which allows remote attackers to cause a denial of service (memory consumption) via crafted CONTINUATION frames in an HTTP/2 request.

Weakness: CWE-399, CWE-20

Which versions are affected by CVE-2016-8740?

It affects 1 product.

Linux distribution packages (4)
apache2 SUSE:Linux Enterprise Server 12 SP2All versions2.4.23-16.3
apache2 SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2All versions2.4.23-16.3
apache2 SUSE:Linux Enterprise Server for SAP Applications 12 SP2All versions2.4.23-16.3
apache2 SUSE:Linux Enterprise Software Development Kit 12 SP2All versions2.4.23-16.3

Products include Apache Http Server.

How do I fix CVE-2016-8740?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2016-8740 being exploited?

There is no known exploitation of CVE-2016-8740 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry and 2 proofs of concept on GitHub.

All Apache Http Server vulnerabilities

Sources

Also known as DEBIAN-CVE-2016-8740, GHSA-pfj2-72r3-p693, SUSE-SU-2017:0203-1.

Is CVE-2016-8740 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free