cve.bz

CVE-2022-23181

7.0 highEPSS 0.7%Fix available

High (7.0). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.tomcat:tomcat 10.0.16, 8.5.75, 9.0.58.

On this page
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.

Severity

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
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 54th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-23181 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-23181?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-23181?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-23181 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:tomcatfrom 8.5.55 through 8.5.73
apache:tomcatfrom 9.0.35 through 9.0.56
apache:tomcatfrom 10.0.1 through 10.0.14
apache:tomcat10.0.0:milestone10
apache:tomcat10.0.0:milestone5
apache:tomcat10.0.0:milestone6
apache:tomcat10.0.0:milestone7
apache:tomcat10.0.0:milestone8
apache:tomcat10.0.0:milestone9
apache:tomcat10.1.0:milestone1
apache:tomcat10.1.0:milestone2
apache:tomcat10.1.0:milestone3
apache:tomcat10.1.0:milestone4
apache:tomcat10.1.0:milestone5
apache:tomcat10.1.0:milestone6
apache:tomcat10.1.0:milestone7
apache:tomcat10.1.0:milestone8
oracle:agile_engineering_data_management6.2.1.0
oracle:communications_cloud_native_core_policy1.15.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.2.0
oracle:financial_services_crime_and_compliance_management_studio8.0.8.3.0
oracle:managed_file_transfer12.2.1.3.0
oracle:managed_file_transfer12.2.1.4.0
oracle:mysql_enterprise_monitorthrough 8.0.29
debian:debian_linux10.0
debian:debian_linux11.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9f3j-pm6f-9fm5Mavenorg.apache.tomcat:tomcat>=10.0.0 <10.0.1610.0.16
GHSA-9f3j-pm6f-9fm5Mavenorg.apache.tomcat:tomcat>=9.0.0 <9.0.589.0.58
GHSA-9f3j-pm6f-9fm5Mavenorg.apache.tomcat:tomcat<8.5.758.5.75

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10tomcat99.0.31-1~deb10u7DLA-3160-1
Debian11tomcat99.0.43-2~deb11u4DSA-5265-1
Debian12, 13, 14tomcat99.0.58-1DEBIAN-CVE-2022-23181
Ubuntu20.04:LTStomcat99.0.31-1ubuntu0.6UBUNTU-CVE-2022-23181 USN-6943-1
UbuntuPro:16.04:LTStomcat88.0.32-1ubuntu1.13+esm1UBUNTU-CVE-2022-23181 USN-6943-1
UbuntuPro:18.04:LTStomcat88.5.39-1ubuntu1~18.04.3+esm2UBUNTU-CVE-2022-23181 USN-6943-1
UbuntuPro:18.04:LTStomcat99.0.16-3ubuntu0.18.04.2+esm2UBUNTU-CVE-2022-23181 USN-6943-1
UbuntuPro:22.04:LTStomcat99.0.58-1ubuntu0.1+esm2USN-6943-1
Red Hatjboss_enterprise_web_server:5.7::el7jws5-ecj0:4.20.0-1.redhat_00002.1.el7jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.62-9.redhat_00005.1.el7jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el7jws5-tomcat-native, jws5-tomcat-native-debuginfo0:1.2.31-10.redhat_10.el7jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el8jws5-ecj0:4.20.0-1.redhat_00002.1.el8jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el8jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.62-9.redhat_00005.1.el8jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el8jws5-tomcat-native, jws5-tomcat-native-debuginfo0:1.2.31-10.redhat_10.el8jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5, jws5-runtime0:1-8.el9jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5-ecj0:4.20.0-1.redhat_00002.1.el9jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5-javapackages-tools, jws5-python-javapackages0:3.4.1-5.15.11.el9jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5-jboss-logging0:3.4.1-1.Final_redhat_00001.1.el9jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5-mod_cluster, jws5-mod_cluster-tomcat0:1.4.3-2.Final_redhat_00002.1.el9jwsRHSA-2022:7272
Red Hatjboss_enterprise_web_server:5.7::el9jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 7 more0:9.0.62-9.redhat_00005.1.el9jwsRHSA-2022:7272
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moretomcat9.0.36-4.70.1SUSE-SU-2022:0695-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 moretomcat9.0.36-19.1SUSE-SU-2022:0818-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5 and 7 morejavapackages-tools5.3.1-14.5.1SUSE-SU-2022:0784-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moretomcat9.0.36-3.90.1SUSE-SU-2022:0694-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moretomcat9.0.36-3.84.1SUSE-SU-2022:0784-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5tomcat9.0.115-3.160.1SUSE-SU-2026:1058-1
openSUSELeap 15.3tomcat9.0.36-19.1openSUSE-SU-2022:0818-1
openSUSETumbleweedtomcat9.0.43-5.1openSUSE-SU-2024:11864-1
openSUSETumbleweedtomcat1010.1.14-1.1openSUSE-SU-2024:13441-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In Red Hat Enterprise Linux 8, Red Hat Certificate System 10 and Identity Management are using the `pki-servlet-engine` component. This component embeds a version of Tomcat which is not affected by this flaw, as it does not include the fix for CVE-2020-9484. Additionally, in these specific contexts, the prerequisites to the vulnerability are not met. The PersistentManager is not set, and a SecurityManager is used. The use of `pki-servlet-engine` outside of these contexts is not supported.

ProductPackageStateAdvisory
JWS 5.7.0tomcatFixed 2022-11-02RHSA-2022:7273
Red Hat Fuse 7.11tomcatFixed 2022-07-07RHSA-2022:5532
Red Hat JBoss Web Server 5.7 on RHEL 7jws5-tomcat-0:9.0.62-9.redhat_00005.1.el7jwsFixed 2022-11-02RHSA-2022:7272
Red Hat JBoss Web Server 5.7 on RHEL 8jws5-tomcat-0:9.0.62-9.redhat_00005.1.el8jwsFixed 2022-11-02RHSA-2022:7272
Red Hat JBoss Web Server 5.7 on RHEL 9jws5-tomcat-0:9.0.62-9.redhat_00005.1.el9jwsFixed 2022-11-02RHSA-2022:7272
Spring Boot 2.7.2.SP1tomcatFixed 2023-02-06RHSA-2023:0272
Red Hat Decision Manager 7tomcatNot affected
Red Hat Enterprise Linux 6tomcat6Out of support scope
Red Hat Enterprise Linux 7tomcatOut of support scope
Red Hat Enterprise Linux 8pki-deps:10.6/pki-servlet-engineNot affected
Red Hat Enterprise Linux 9pki-servlet-engineAffected
Red Hat JBoss Data Grid 6jbosswebOut of support scope
Red Hat JBoss Data Virtualization 6jbosswebOut of support scope
Red Hat JBoss Enterprise Application Platform 6jbosswebOut of support scope
Red Hat JBoss Fuse 6tomcatOut of support scope
Red Hat JBoss Web Server 3tomcatOut of support scope
Red Hat OpenStack Platform 10 (Newton)opendaylightOut of support scope
Red Hat OpenStack Platform 13 (Queens)opendaylightOut of support scope
Red Hat Process Automation 7tomcatNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-23181.

Attack patterns (CAPEC)

  • CAPEC-27 Leveraging Race Conditions via Symbolic Links Likelihood: Medium · Severity: High
  • CAPEC-29 Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON