CVE-2018-8037 Apache Tomcat Race Condition vulnerability
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.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.5.5 | 8.5.32 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 8.5.5 | 8.5.32 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0.M9 | 9.0.10 |
org.apache.tomcat.embed:tomcat-embed-core Maven | From 9.0.0.M9 | 9.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.
Other vulnerabilities in Apache Tomcat
Sources
Also known as GHSA-6v52-mj5r-7j2m, UBUNTU-CVE-2018-8037.