CVEfocus › CVE database › CVE-2022-23181

CVE-2022-23181Local privilege escalation with FileStore

CVSS 7.0 HighEPSS 0.5% (higher than 37% of CVEs)Published 2022-01-27Updated 2024-08-03Assigner: apache

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.

CWE-367

What to do

Fixed builds are available from Debian, Maven, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
5Fix pending
20Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04tomcat9Fixed9.0.31-1ubuntu0.6UBUNTU-CVE-2022-23181
Ubuntu 18.04tomcat8Fix pending8.5.39-1ubuntu1~18.04.3+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-23181
Ubuntu 18.04tomcat9Fix pending9.0.16-3ubuntu0.18.04.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2022-23181
Ubuntu 16.04tomcat8Fix pending8.0.32-1ubuntu1.13+esm1 (Ubuntu Pro)UBUNTU-CVE-2022-23181
Debian 14tomcat9Fixed9.0.58-1DEBIAN-CVE-2022-23181
Debian 13tomcat9Fixed9.0.58-1DEBIAN-CVE-2022-23181
Debian 12tomcat9Fixed9.0.58-1DEBIAN-CVE-2022-23181
Red Hat Enterprise Linux 9pki-servlet-4.0-apiFix pending
Affected
Red Hat Enterprise Linux 9pki-servlet-engineFix pending
Affected
Red Hat Enterprise Linux 8pki-servlet-4.0-apiNot affected
Red Hat Enterprise Linux 8pki-servlet-engineNot affected
Red Hat Enterprise Linux 7tomcatWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-el-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsp-2.2-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-jsvcWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-libWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-servlet-3.0-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 7tomcat-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6Will not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-admin-webappsWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-docs-webappWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-el-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-javadocWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-jsp-2.1-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-libWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-log4jWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-servlet-2.5-apiWill not fix
Out of support scope
Red Hat Enterprise Linux 6tomcat6-webappsWill not fix
Out of support scope
Maven libraryorg.apache.tomcat:tomcatFixed8.5.75GHSA-9f3j-pm6f-9fm5

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.