Time-of-check Time-of-use (TOCTOU) Race Condition in org.apache.tomcat.embed:tomcat-embed-core
CVE-2022-23181
- org.apache.tomcat.embed:tomcat-embed-core
- org.apache.tomcat:tomcat-catalina
Summary
The fix for bug CVE-2020-9484 introduced a time of check, time of use vulnerability into Apache Tomcat 7.0.104 through 7.0.107,8.5.55 through 8.5.73, 9.0.35 through 9.0.56,10.0.0-M5 through 10.0.14, and 10.1.0-M1 through 10.1.0-M8 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.
- HIGH
- LOCAL
- HIGH
- UNCHANGED
- NONE
- LOW
- HIGH
- HIGH
CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition
The software checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the software to perform invalid actions when the resource is in an unexpected state.
References
Advisory Timeline
- Published