Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2022-23181

tomcat: local privilege escalation vulnerability

Overview

Published
27 Jan 2022
Modified
17 Jun 2026
High CVE
4 Registry packages
63 OS packages
8 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

7 · HIGH

CVSS 3.1 base score, scored by NVD.

Attack vector
Local
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness: CWE-367

Affected packages · 4

Packages affected by CVE-2022-23181
EcosystemPackageVulnerableFixed in
Bitnami tomcat >=8.5.55, <8.5.74>=9.0.35, <9.0.57>=10.0.1, <10.0.15 8.5.749.0.5710.0.15
Maven org.apache.tomcat:tomcat >=10.0.0, <10.0.16>=9.0.0, <9.0.58<8.5.75 10.0.169.0.588.5.75
Seal Maven org.apache.tomcat.embed:tomcat-embed-core >=9.0.39+sp0, <9.0.39+sp2 9.0.39+sp2
Seal Maven seal.sp1.org.apache.tomcat.embed:tomcat-embed-core >=9.0.39, <9.0.39+sp999 9.0.39+sp999

Open a package to see all its vulnerabilities.

Operating systems · 33 fixes

Photon OS 1 release · 1 package

fixed 1
apache-tomcat
Photon OS fixes for CVE-2022-23181
ReleasePackageFixed in
4.0 apache-tomcat +1 8.5.72-2.ph4

Red Hat 3 releases · 10 packages

eol 1 fixed 14 affected 1
opendaylight jws5-tomcat-native jws5-ecj jws5-tomcat pki-servlet-4-0-api jws5 +4
Red Hat fixes for CVE-2022-23181
ReleasePackageFixed inAdvisory
7 opendaylight +10 eol —
7 jws5-tomcat-native 0:1.2.31-10.redhat_10.el7jws RHSA-2022:7272
7 jws5-ecj 0:4.20.0-1.redhat_00002.1.el7jws RHSA-2022:7272
7 jws5-tomcat +11 0:9.0.62-9.redhat_00005.1.el7jws RHSA-2022:7272
8 jws5-tomcat-native 0:1.2.31-10.redhat_10.el8jws RHSA-2022:7272
8 jws5-ecj 0:4.20.0-1.redhat_00002.1.el8jws RHSA-2022:7272

10 more rows

SUSE Linux Enterprise 1 release · 2 packages

fixed 2
javapackages-filesystem tomcat
SUSE Linux Enterprise fixes for CVE-2022-23181
ReleasePackageFixed inAdvisory
12.5 javapackages-filesystem 5.3.1-14.5.1 SUSE-SU-2022:0784-1
12.5 tomcat +8 9.0.36-3.84.1 SUSE-SU-2022:0784-1

amazon linux 1 release · 1 package

fixed 1
tomcat9
amazon linux fixes for CVE-2022-23181
ReleasePackageFixed in
2023 tomcat9 +7 1:9.0.64-1.amzn2023.0.2

debian 6 releases · 2 packages

fixed 5 affected 1
tomcat9 tomcat8
debian fixes for CVE-2022-23181
ReleasePackageFixed in
10 tomcat9 9.0.31-1~deb10u7
11 tomcat9 9.0.43-2~deb11u4
12 tomcat9 9.0.58-1
13 tomcat9 9.0.58-1
14 tomcat9 9.0.58-1
9 tomcat8 affected

echo 1 release · 1 package

fixed 1
tomcat9
echo fixes for CVE-2022-23181
ReleasePackageFixed in
tomcat9 9.0.58-1

openSUSE 1 release · 2 packages

fixed 2
tomcat10 tomcat
openSUSE fixes for CVE-2022-23181
ReleasePackageFixed inAdvisory
Tumbleweed tomcat10 +10 10.1.14-1.1 openSUSE-SU-2024:13441-1
Tumbleweed tomcat +10 9.0.43-5.1 openSUSE-SU-2024:11864-1

ubuntu 3 releases · 2 packages

fixed 4
tomcat8 tomcat9
ubuntu fixes for CVE-2022-23181
ReleasePackageFixed in
18.04-ESM tomcat8 8.5.39-1ubuntu1~18.04.3+esm2
18.04-ESM tomcat9 9.0.16-3ubuntu0.18.04.2+esm2
20.04 tomcat9 9.0.31-1ubuntu0.6
20.04-ESM tomcat9 9.0.31-1ubuntu0.6

References

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.