Vulnerability · Published Oct 10, 2023 · Assigned by apache
CVE-2023-42795Apache Tomcat: Failure during request clean-up leads to sensitive data leaking to subsequent requests
Medium 5.3
In plain English
A medium-severity security flaw in Apache Tomcat from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | tomcat | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-admin-webapps | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-admin-webapps | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-docs-webapp | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-docs-webapp | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-el-3.0-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-el-3.0-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-jsp-2.3-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-jsp-2.3-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-lib | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-lib | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-servlet-4.0-api | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-servlet-4.0-api | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux:8 | tomcat-webapps | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux:9 | tomcat-webapps | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| Debian:12 | tomcat10 | 10.1.6-1+deb12u1 | DEBIAN-CVE-2023-42795 |
| Debian:12 | tomcat10 | 10.1.6-1+deb12u1 | DSA-5521-1 |
| Debian:13 | tomcat10 | 10.1.14-1 | DEBIAN-CVE-2023-42795 |
| Debian:14 | tomcat10 | 10.1.14-1 | DEBIAN-CVE-2023-42795 |
| Debian:12 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Debian:13 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Debian:14 | tomcat9 | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 10.1.14 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 8.5.94 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | 11.0.0-M12 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat | 8.5.94 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat | 11.0.0-M12 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat | 10.1.14 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-catalina | 8.5.94 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-catalina | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-catalina | 10.1.14 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-catalina | 11.0.0-M12 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-util | 8.5.94 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-util | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-util | 10.1.14 | GHSA-g8pj-r55q-5c2v |
| Maven | org.apache.tomcat:tomcat-util | 11.0.0-M12 | GHSA-g8pj-r55q-5c2v |
| Ubuntu:25.10 | tomcat9 | 9.0.70-2ubuntu3 | UBUNTU-CVE-2023-42795 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Tomcat | 11.0.0-M1 – through 11.0.0-M1110.1.0-M1 – through 10.1.139.0.0-M1 – through 9.0.808.5.0 – through 8.5.93 |
Weakness: CWE-459 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
References
- https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw vendor-advisory
- http://www.openwall.com/lists/oss-security/2023/10/10/9 x_transferred
- https://www.debian.org/security/2023/dsa-5522 x_transferred
- https://www.debian.org/security/2023/dsa-5521 x_transferred
- https://lists.debian.org/debian-lts-announce/2023/10/msg00020.html x_transferred
- https://security.netapp.com/advisory/ntap-20231103-0007/ x_transferred