CVE-2022-23181
Local privilege escalation with FileStore
Reported by apache · Published January 27, 2022
tomcat is fixed in 10.1.0, 10.0.16, 10.0.14 and 4 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.apache.tomcat:tomcat | Maven Central | 10.1.0, 10.0.16, 10.0.14, 9.0.58, 9.0.56, 8.5.75, 8.5.73 |
| org.apache.tomcat.embed:tomcat-embed-core | Maven Central | 10.1.0, 10.0.14, 9.0.56, 8.5.73 |
| tomcat9-lib | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9 | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9-jsp-2.3-api | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9-admin-webapps | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat | Bitnami | 10.0.15, 9.0.57, 8.5.74 |
| tomcat9-docs-webapp | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9-servlet-4.0-api | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9-el-3.0-api | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat9-webapps | Amazon Linux | 1:9.0.64-1.amzn2023.0.2 |
| tomcat | apache | 10.0.14, 9.0.56, 8.5.73 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 10.1 10.1.0-M1 to 10.1.0-M8, Apache Tomcat 10.0 10.0.0-M5 to 10.0.14, Apache Tomcat 9 9.0.35 to 9.0.56 |
| amazon:2023 | tomcat9-lib | 0 |
| amazon:2023 | tomcat9 | 0 |
| amazon:2023 | tomcat9-jsp-2.3-api | 0 |
| amazon:2023 | tomcat9-admin-webapps | 0 |
| Maven | org.apache.tomcat:tomcat | 10.0.1, 8.5.55, 9.0.35 |
| amazon:2023 | tomcat9-docs-webapp | 0 |
| amazon:2023 | tomcat9-servlet-4.0-api | 0 |
| amazon:2023 | tomcat9-el-3.0-api | 0 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.0.0, 10.0.1, 10.1.0 |
| amazon:2023 | tomcat9-webapps | 0 |
| Apache Software Foundation | Apache Tomcat | 10.1, 9.0.35, 8.5.55 |
Timeline
- Jan 25, 2022 CVE Published
- Feb 8, 2022 EPSS Score (30 in total, the first dated here)
- Apr 7, 2022 PoC Published (4 in total, the first dated here)
- Mar 17, 2026 Security Advisory (48 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (44 in total, the first dated here)
- Jul 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-23181
vulnetix vdb fixes CVE-2022-23181
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-23181/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [debian-lts-announce] 20221026 [SECURITY] [DLA 3160-1] tomcat9 security update mailing-list
- DSA-5265 vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-23181 advisory