WaratekVRT Sign in

CVE-2022-23181 Apache Tomcat

Affected softwareApache Tomcat
Severity7.0 High CVSS 3.1 2 scores
Fixed in10.0.16, 9.0.58, 8.5.75
WeaknessCWE-367
Published27 Jan 2022
Updated1 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.

  • 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

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

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-13

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

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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

AdvisoryTypeQuarterProducts 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

FamilyComponentVersions, as Oracle lists themRead 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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/apache/tomcat PACKAGE
https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9 WEB
https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html WEB
https://security.netapp.com/advisory/ntap-20220217-0010 WEB
https://www.debian.org/security/2022/dsa-5265 WEB
https://www.oracle.com/security-alerts/cpuapr2022.html WEB
https://www.oracle.com/security-alerts/cpujul2022.html WEB
https://security.netapp.com/advisory/ntap-20220217-0010/ Third Party Advisory

Timeline

Published2022-01-27By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.
Last VRT activity2026-10-01Most recent commit touching this CVE's classification, patch or rule file.
Classification created2026-11-13First commit adding this CVE's research note.