CVE-2016-6817 Improper Restriction of Operations within the Bounds of a Memory Buffer in Apache Tomcat
An attacker can cause a denial of service in Apache Tomcat by sending an oversized HTTP/2 header, triggering an infinite loop in the parser.
- 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-6817?
CVE-2016-6817 is a high-severity denial of service vulnerability in Apache Tomcat, published on 10 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The HTTP/2 header parser in Apache Tomcat 9.0.0.M1 to 9.0.0.M11 and 8.5.0 to 8.5.6 entered an infinite loop if a header was received that was larger than the available buffer. This made a denial of service attack possible.
Which versions are affected by CVE-2016-6817?
4 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat:tomcat Maven | From 8.5.0 | 8.5.8 |
org.apache.tomcat:tomcat Maven | From 8.5.0 | 8.5.8 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M1 | 9.0.0.M12 |
org.apache.tomcat:tomcat Maven | From 9.0.0.M1 | 9.0.0.M12 |
Products include Apache Tomcat.
How do I fix CVE-2016-6817?
Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 8.5.8 or 9.0.0.M12.
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-6817 being exploited?
There is no known exploitation of CVE-2016-6817 in the wild and no public exploit code.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-698c-2x4j-g9gq.