CVE-2023-42795
tomcat: improper cleaning of recycled objects could lead to information leak
Overview
Description
Incomplete Cleanup vulnerability in Apache Tomcat.When recycling various internal objects in Apache Tomcat from 11.0.0-M1 through 11.0.0-M11, from 10.1.0-M1 through 10.1.13, from 9.0.0-M1 through 9.0.80 and from 8.5.0 through 8.5.93, an error could
cause Tomcat to skip some parts of the recycling process leading to
information leaking from the current request/response to the next.
Older, EOL versions may also be affected.
Users are recommended to upgrade to version 11.0.0-M12 onwards, 10.1.14 onwards, 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness: CWE-459
Affected packages · 7
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=8.5.0, <8.5.94>=9.0.1, <9.0.81>=10.1.1, <10.1.14 | 8.5.949.0.8110.1.14 |
| Maven | org.apache.tomcat:tomcat | >=11.0.0-M1, <11.0.0-M12>=10.1.0-M1, <10.1.14>=9.0.0-M1, <9.0.81>=8.5.0, <8.5.94 | 11.0.0-M1210.1.149.0.818.5.94 |
| Maven | org.apache.tomcat:tomcat-catalina | >=11.0.0-M1, <11.0.0-M12>=10.1.0-M1, <10.1.14>=9.0.0-M1, <9.0.81>=8.5.0, <8.5.94 | 11.0.0-M1210.1.149.0.818.5.94 |
| Maven | org.apache.tomcat:tomcat-util | >=11.0.0-M1, <11.0.0-M12>=10.1.0-M1, <10.1.14>=9.0.0-M1, <9.0.81>=8.5.0, <8.5.94 | 11.0.0-M1210.1.149.0.818.5.94 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.0-M1, <10.1.14>=9.0.0-M1, <9.0.81>=8.5.0, <8.5.94>=11.0.0-M1, <11.0.0-M12 | 10.1.149.0.818.5.9411.0.0-M12 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=10.1.11+sp0, <10.1.11+sp999>=8.5.46+sp0, <8.5.46+sp999>=9.0.46+sp0, <9.0.46+sp2>=9.0.58+sp0, <9.0.58+sp2 | 10.1.11+sp9998.5.46+sp9999.0.46+sp29.0.58+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=10.1.11, <10.1.11+sp999>=8.5.46, <8.5.46+sp999>=9.0.46, <9.0.46+sp999>=9.0.58, <9.0.58+sp999 | 10.1.11+sp9998.5.46+sp9999.0.46+sp9999.0.58+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 35 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9.2 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3.1 |
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | tomcat +9 | wont fix | — |
| 7 | jws5-tomcat +11 | 0:9.0.62-18.redhat_00016.1.el7jws | RHSA-2023:6206 |
| 8 | jws5-tomcat +9 | 0:9.0.62-18.redhat_00016.1.el8jws | RHSA-2023:6206 |
| 8 | tomcat +7 | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| 8 | tomcat +7 | 1:9.0.87-1.el8_8.2 | RHSA-2024:3814 |
| 8 (pki-deps:10.6) | pki-servlet-4-0-api +1 | wont fix | — |
3 more rows
SUSE Linux Enterprise 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | tomcat +8 | 9.0.36-3.111.1 | SUSE-SU-2023:4337-1 |
| 15.4 | tomcat +6 | 9.0.85-150200.57.1 | SUSE-SU-2024:0472-1 |
| 15.5 | tomcat +6 | 9.0.85-150200.57.1 | SUSE-SU-2024:0472-1 |
alma 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 8 | tomcat +7 | 1:9.0.62-27.el8_9.2 |
| 9 | tomcat +7 | 1:9.0.62-37.el9_3.1 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | tomcat9 +7 | 1:9.0.82-1.amzn2023.0.1 |
debian 5 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u9 |
| 11 | tomcat9 | 9.0.43-2~deb11u7 |
| 12 | tomcat10 | 10.1.6-1+deb12u1 |
| 12 | tomcat9 | 9.0.70-2 |
| 13 | tomcat10 | 10.1.14-1 |
| 13 | tomcat9 | 9.0.70-2 |
2 more rows
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| tomcat10 | 10.1.6-1+deb12u1 | |
| tomcat9 | 9.0.70-2 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat +10 | 9.0.82-2.1 | openSUSE-SU-2024:13382-1 |
ubuntu 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm5 |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2+esm4 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.8 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.8 |
| 22.04 | tomcat9 | affected |
| 24.04 | tomcat9 | affected |
1 more row
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/10/10/9
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:0474
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-42795
- bugzilla.redhat.com https://bugzilla.redhat.com/2235370
- bugzilla.redhat.com https://bugzilla.redhat.com/2243749
- bugzilla.redhat.com https://bugzilla.redhat.com/2243751
- bugzilla.redhat.com https://bugzilla.redhat.com/2243752
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-0474.html
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf
Show all 26 references
- github.com https://github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75
- github.com https://github.com/apache/tomcat/commit/9375d67106f8df9eb9d7b360b2bef052fe67d3d4
- github.com https://github.com/apache/tomcat/commit/d6db22e411307c97ddf78315c15d5889356eca38
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-42795.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-0474.html
- lists.apache.org https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-42795
- security.netapp.com https://security.netapp.com/advisory/ntap-20231103-0007
- security.netapp.com https://security.netapp.com/advisory/ntap-20231103-0007/
- ubuntu.com https://ubuntu.com/security/notices/USN-7106-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7562-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-42795
- www.debian.org https://www.debian.org/security/2023/dsa-5521
- www.debian.org https://www.debian.org/security/2023/dsa-5522
- www.openwall.com https://www.openwall.com/lists/oss-security/2023/10/10/9
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.