CVE-2023-42795
MEDIUM 5.3CVSS 3.1Apache Tomcat Incomplete Cleanup vulnerability
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.
- Published
- 10 Oct 2023
- Last modified
- 17 Jun 2026
- Assigned by
- security@apache.org
- NVD status
- Modified
- Weakness
- CWE-459
- Also known as
- BIT-tomcat-2023-42795GHSA-g8pj-r55q-5c2v
- Sources
- NVDJSONOSV GHSA-g8pj-r55q-5c2vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 8.5.0, < 8.5.94 | 8.5.94 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 9.0.1, < 9.0.81 | 9.0.81 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:*:*:*:*:*:*:*:* |
>= 10.1.1, < 10.1.14 | 10.1.14 |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone1:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone10:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone11:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone12:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone13:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone14:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone15:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone16:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone17:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone18:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone19:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone2:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone20:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone21:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone22:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone23:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone24:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone25:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone26:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone27:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone3:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone4:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone5:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone6:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone7:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone8:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:9.0.0:milestone9:*:*:*:*:*:* |
= 9.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone1:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone10:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone11:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone12:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone13:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone14:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone15:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone16:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone17:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone18:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone19:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone2:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone20:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone3:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone4:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone5:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone6:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone7:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone8:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:10.1.0:milestone9:*:*:*:*:*:* |
= 10.1.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone1:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone10:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone11:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone2:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone3:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone4:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone5:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone6:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone7:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone8:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | apache | tomcatcpe:2.3:a:apache:tomcat:11.0.0:milestone9:*:*:*:*:*:* |
= 11.0.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* |
= 12.0 | |
| OSV | Maven | org.apache.tomcat:tomcat | >= 11.0.0-M1, < 11.0.0-M12 | 11.0.0-M12 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.14 | 10.1.14 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 9.0.0-M1, < 9.0.81 | 9.0.81 |
| OSV | Maven | org.apache.tomcat:tomcat | >= 8.5.0, < 8.5.94 | 8.5.94 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 10.1.0-M1, < 10.1.14 | 10.1.14 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 9.0.0-M1, < 9.0.81 | 9.0.81 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 8.5.0, < 8.5.94 | 8.5.94 |
| OSV | Maven | org.apache.tomcat.embed:tomcat-embed-core | >= 11.0.0-M1, < 11.0.0-M12 | 11.0.0-M12 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 11.0.0-M1, < 11.0.0-M12 | 11.0.0-M12 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 10.1.0-M1, < 10.1.14 | 10.1.14 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 9.0.0-M1, < 9.0.81 | 9.0.81 |
| OSV | Maven | org.apache.tomcat:tomcat-catalina | >= 8.5.0, < 8.5.94 | 8.5.94 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 11.0.0-M1, < 11.0.0-M12 | 11.0.0-M12 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 10.1.0-M1, < 10.1.14 | 10.1.14 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 9.0.0-M1, < 9.0.81 | 9.0.81 |
| OSV | Maven | org.apache.tomcat:tomcat-util | >= 8.5.0, < 8.5.94 | 8.5.94 |
References
- https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw · Mailing List, Vendor Advisory, WEB
- http://www.openwall.com/lists/oss-security/2023/10/10/9 · Mailing List, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html · Mailing List, Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20231103-0007/ · WEB
- https://www.debian.org/security/2023/dsa-5521 · Third Party Advisory, WEB
- https://www.debian.org/security/2023/dsa-5522 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-42795 · ADVISORY
- https://github.com/apache/tomcat/commit/30f8063d7a9b4c43ae4722f5e382a76af1d7a6bf · WEB
- https://github.com/apache/tomcat/commit/44d05d75d696ca10ce251e4e370511e38f20ae75 · WEB
- https://github.com/apache/tomcat/commit/9375d67106f8df9eb9d7b360b2bef052fe67d3d4 · WEB
- https://github.com/apache/tomcat/commit/d6db22e411307c97ddf78315c15d5889356eca38 · WEB
- https://github.com/apache/tomcat · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 10 Oct 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Oct 2023)