CVE-2022-23181
tomcat: local privilege escalation vulnerability
Overview
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
| Ecosystem | Package | Vulnerable | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | apache-tomcat +1 | 8.5.72-2.ph4 |
Red Hat 3 releases · 10 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.64-1.amzn2023.0.2 |
debian 6 releases · 2 packages
| Release | Package | Fixed 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
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.58-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Release | Package | Fixed 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
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-23181
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/1385c624b4a1e994426e810075c850edc38a700e (9.0.57)
- github.com https://github.com/apache/tomcat/commit/97943959ba721ad5e8e8ba765a68d2b153348530 (8.5.74)
- lists.apache.org https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9
- lists.debian.org https://lists.debian.org/debian-lts-announce/2022/10/msg00029.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-23181
- security.netapp.com https://security.netapp.com/advisory/ntap-20220217-0010
- security.netapp.com https://security.netapp.com/advisory/ntap-20220217-0010/
- ubuntu.com https://ubuntu.com/security/notices/USN-6943-1
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.