CVE-2017-5650 Improper Resource Shutdown or Release in Apache Tomcat

High 7.5 Published Updated

A malicious client can exhaust server threads via crafted HTTP/2 GOAWAY frames, causing denial of service in Apache Tomcat.

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

What is CVE-2017-5650?

CVE-2017-5650 is a high-severity denial of service vulnerability in Apache Tomcat, published on 17 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Apache Tomcat 9.0.0.M1 to 9.0.0.M18 and 8.5.0 to 8.5.12, the handling of an HTTP/2 GOAWAY frame for a connection did not close streams associated with that connection that were currently waiting for a WINDOW_UPDATE before allowing the application to write more data. These waiting streams each consumed a thread. A malicious client could therefore construct a series of HTTP/2 requests that would consume all available processing threads.

Weakness: CWE-404

Which versions are affected by CVE-2017-5650?

4 open source packages ship an affected version, including org.apache.tomcat:tomcat. It affects 1 product.

PackageAffectedFixed in
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.13
org.apache.tomcat:tomcat MavenFrom 8.5.08.5.13
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M19
org.apache.tomcat:tomcat MavenFrom 9.0.0.M19.0.0.M19

Products include Apache Tomcat.

How do I fix CVE-2017-5650?

Upgrade org.apache.tomcat:tomcat to a fixed version for your release line: 8.5.13 or 9.0.0.M19.

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-2017-5650 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-9785-w233-x6hv.

Is CVE-2017-5650 in your software?

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

Check your SBOMs for free