CVE-2022-23181 Apache Tomcat
| Affected software | Apache Tomcat |
|---|---|
| Severity | 7.0 High CVSS 3.1 2 scores |
| Fixed in | 10.0.16, 9.0.58, 8.5.75 |
| Weakness | CWE-367 |
| Published | 27 Jan 2022 |
| Updated | 1 Oct 2026 |
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 4 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 0.69% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Deserialization, Process
- Action available security rule
- Review human Researcher
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | A researcher found this CVE protected by the Marshal RCE rule, ARMR Process rule. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: Marshal RCE rule, ARMR Process rule
Race in the FileStore session path check lets a local attacker get Tomcat to load a session file they control; Marshal deserialize(java)+rce() intercepts ObjectInputStream.readObject(), and the Process rule (with /bin/* and /usr/* listed) blocks the gadget's Runtime.exec. Using the same race to delete other files is not stopped.
How to mitigate CVE-2022-23181
Upgrade Apache Tomcat to a release that fixes it: 10.0.16, 9.0.58 or 8.5.75. Until you can, Waratek RASP blocks exploitation with its deserialization and process rules. It runs inside the Java application, with no code changes.
CVSS
7.0 HIGH
v3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
7.0 HIGH v3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 7.0 | HIGH | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 3.7 | none | AV:L/AC:H/Au:N/C:P/I:P/A:P |
NVD | Primary |
Affected software and releases
Oracle advisories
| Advisory | Type | Quarter | Products Oracle names in its risk matrix |
|---|---|---|---|
| Oracle Critical Patch Update October 2026 ↗ | CPU | 2026-Q4 | Oracle Communications / Microservices (Apache Tomcat) (7.0.0) |
| Oracle Critical Patch Update April 2023 ↗ | CPU | 2023-Q2 | Oracle Retail Applications / Xenvironment (Apache Tomcat) (17.0.6, 18.0.5, 19.0.4, 20.0.3, 21.0.2) |
| Oracle Critical Patch Update October 2022 ↗ | CPU | 2022-Q4 | Oracle Communications Applications / Installation (Apache Tomcat) (10.0.1.6.0) Oracle Financial Services Applications / Installer & Configuration (Apache Tomcat) (8.0.8.0, 8.1.0.0, 8.1.1.0) |
| Oracle Critical Patch Update July 2022 ↗ | CPU | 2022-Q3 | Oracle Financial Services Applications / Studio (Apache Tomcat) (8.0.8.2.0, 8.0.8.3.0) |
| Oracle Critical Patch Update April 2022 ↗ | CPU | 2022-Q2 | Oracle Communications / Policy (Apache Tomcat) (1.15.0) Oracle MySQL / Monitoring: General (Apache Tomcat) (8.0.29 and prior) |
Oracle components and versions
| Family | Component | Versions, as Oracle lists them | Read as |
|---|---|---|---|
| Oracle Communications | Microservices (Apache Tomcat) | 7.0.0 | 7.0.0 |
| Oracle Communications | Policy (Apache Tomcat) | 1.15.0 | 1.15.0 |
| Oracle Communications Applications | Installation (Apache Tomcat) | 10.0.1.6.0 | 10.0.1.6.0 |
| Oracle Financial Services Applications | Installer & Configuration (Apache Tomcat) | 8.0.8.0, 8.1.0.0, 8.1.1.0 | 8.0.8.0 · 8.1.0.0 · 8.1.1.0 |
| Oracle Financial Services Applications | Studio (Apache Tomcat) | 8.0.8.2.0, 8.0.8.3.0 | 8.0.8.2.0 · 8.0.8.3.0 |
| Oracle MySQL | Monitoring: General (Apache Tomcat) | 8.0.29 and prior | |
| Oracle Retail Applications | Xenvironment (Apache Tomcat) | 17.0.6, 18.0.5, 19.0.4, 20.0.3, 21.0.2 | 17.0.6 · 18.0.5 · 19.0.4 · 20.0.3 · 21.0.2 |
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.tomcat:tomcat |
10.0.0 | 10.0.16 |
unbounded |
org.apache.tomcat:tomcat |
9.0.0 | 9.0.58 |
unbounded |
org.apache.tomcat:tomcat |
0 | 8.5.75 |
unbounded |
Products and versions
8 products, 29 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | tomcat | generic | ≥ 8.5.55 and ≤ 8.5.73 · ≥ 9.0.35 and ≤ 9.0.56 · 10.0.0:milestone10 · 10.0.0:milestone5 · 10.0.0:milestone6 · 10.0.0:milestone7 · 10.0.0:milestone8 · 10.0.0:milestone9 · ≥ 10.0.1 and ≤ 10.0.14 · 10.1.0:milestone1 · 10.1.0:milestone2 · 10.1.0:milestone3 · 10.1.0:milestone4 · 10.1.0:milestone5 · 10.1.0:milestone6 · 10.1.0:milestone7 · 10.1.0:milestone8 |
| nvd | debian | debian linux | generic | 10.0 · 11.0 |
| nvd | oracle | agile engineering data management | generic | 6.2.1.0 |
| nvd | oracle | communications cloud native core policy | generic | 1.15.0 |
| nvd | oracle | financial services crime and compliance management studio | generic | 8.0.8.2.0 · 8.0.8.3.0 |
| nvd | oracle | managed file transfer | generic | 12.2.1.3.0 · 12.2.1.4.0 |
| nvd | oracle | mysql enterprise monitor | generic | ≤ 8.0.29 |
| osv | org.apache.tomcat | tomcat | generic | < 8.5.75 · ≥ 9.0.0 and < 9.0.58 · ≥ 10.0.0 and < 10.0.16 |
References
Timeline
Timeline
| Published | 2022-01-27 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Last VRT activity | 2026-10-01 | Most recent commit touching this CVE's classification, patch or rule file. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |