Vulnerability · Published Jan 27, 2022 · Assigned by apache
CVE-2022-23181Local privilege escalation with FileStore
High 7.0
In plain English
A high-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | tomcat9 | 9.0.58-1 | DEBIAN-CVE-2022-23181 |
| Debian:13 | tomcat9 | 9.0.58-1 | DEBIAN-CVE-2022-23181 |
| Debian:14 | tomcat9 | 9.0.58-1 | DEBIAN-CVE-2022-23181 |
| Maven | org.apache.tomcat:tomcat | 10.0.16 | GHSA-9f3j-pm6f-9fm5 |
| Maven | org.apache.tomcat:tomcat | 9.0.58 | GHSA-9f3j-pm6f-9fm5 |
| Maven | org.apache.tomcat:tomcat | 8.5.75 | GHSA-9f3j-pm6f-9fm5 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M8Apache Tomcat 10.0 10.0.0-M5 to 10.0.14Apache Tomcat 9 9.0.35 to 9.0.56Apache Tomcat 8 8.5.55 to 8.5.73 |
Weakness: CWE-367
References
- https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20220217-0010/
- https://www.oracle.com/security-alerts/cpujul2022.html
- [debian-lts-announce] 20221026 [SECURITY] [DLA 3160-1] tomcat9 security update mailing-list
- DSA-5265 vendor-advisory