CVE-2018-8037 Apache Tomcat Race Condition vulnerability

Medium 5.9 Published Updated

A race condition in Apache Tomcat allows attackers to view responses intended for other users due to improper async request handling.

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

What is CVE-2018-8037?

CVE-2018-8037 is a medium-severity vulnerability in Apache Tomcat, published on 2 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

If an async request was completed by the application at the same time as the container triggered the async timeout, a race condition existed that could result in a user seeing a response intended for a different user. An additional issue was present in the NIO and NIO2 connectors that did not correctly track the closure of the connection when an async request was completed by the application and timed out by the container at the same time. This could also result in a user seeing a response intended for another user. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31.

Weakness: CWE-362

Which versions are affected by CVE-2018-8037?

4 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core. It affects 2 products.

PackageAffectedFixed in
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.5.58.5.32
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 8.5.58.5.32
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 9.0.0.M99.0.10
org.apache.tomcat.embed:tomcat-embed-core MavenFrom 9.0.0.M99.0.10

Products include Apache Tomcat, Debian Debian Linux.

How do I fix CVE-2018-8037?

Upgrade org.apache.tomcat.embed:tomcat-embed-core to a fixed version for your release line: 8.5.32 or 9.0.10.

Is CVE-2018-8037 being exploited?

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

All Apache Tomcat vulnerabilities

Sources

Also known as GHSA-6v52-mj5r-7j2m, UBUNTU-CVE-2018-8037.

Is CVE-2018-8037 in your software?

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

Check your SBOMs for free