GitHub Advisory Database
GHSA-9f3j-pm6f-9fm5
Race condition in Apache Tomcat
Details
The fix for bug CVE-2020-9484 introduced a time of check time of use vulnerability into Apache Tomcat 10.1.0-M1 to 10.1.0-M8, 10.0.0-M5 to 10.0.14, 9.0.35 to 9.0.56 and 8.5.55 to 8.5.73 that allowed a local attacker to perform actions with the privileges of the user that the Tomcat process is using. This issue is only exploitable when Tomcat is configured to persist sessions using the FileStore.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.tomcat:tomcat | From 10.0.0 before 10.0.16 (fixed in 10.0.16) |
| Maven | org.apache.tomcat:tomcat | From 9.0.0 before 9.0.58 (fixed in 9.0.58) |
| Maven | org.apache.tomcat:tomcat | All versions before 8.5.75 (fixed in 8.5.75) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-23181
- https://github.com/apache/tomcat
- https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9
- https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html
- https://security.netapp.com/advisory/ntap-20220217-0010
- https://www.debian.org/security/2022/dsa-5265
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html