CVE-2023-42795Apache Tomcat: Failure during request clean-up leads to sensitive data leaking to…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Maven, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | tomcat10 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat10 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat11 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | tomcat9 | Fixed | 9.0.70-2ubuntu3 | UBUNTU-CVE-2023-42795 |
| Ubuntu 24.04 | tomcat9 | Fix pending | 9.0.70-2ubuntu0.1+esm2 (Ubuntu Pro) | UBUNTU-CVE-2023-42795 |
| Ubuntu 22.04 | tomcat9 | Fix pending | 9.0.58-1ubuntu0.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-42795 |
| Ubuntu 20.04 | tomcat9 | Fixed | 9.0.31-1ubuntu0.8 | UBUNTU-CVE-2023-42795 |
| Ubuntu 18.04 | tomcat8 | Fix pending | 8.5.39-1ubuntu1~18.04.3+esm5 (Ubuntu Pro) | UBUNTU-CVE-2023-42795 |
| Ubuntu 18.04 | tomcat9 | Fix pending | 9.0.16-3ubuntu0.18.04.2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2023-42795 |
| Ubuntu 16.04 | tomcat6 | Fix pending | ||
| Ubuntu 16.04 | tomcat7 | Fix pending | UBUNTU-CVE-2023-42795 | |
| Ubuntu 16.04 | tomcat8 | Fix pending | UBUNTU-CVE-2023-42795 | |
| Ubuntu 14.04 | tomcat6 | Fix pending | UBUNTU-CVE-2023-42795 | |
| Ubuntu 14.04 | tomcat7 | Fix pending | UBUNTU-CVE-2023-42795 | |
| Debian 14 | tomcat10 | Fixed | 10.1.14-1 | DEBIAN-CVE-2023-42795 |
| Debian 14 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Debian 13 | tomcat10 | Fixed | 10.1.14-1 | DEBIAN-CVE-2023-42795 |
| Debian 13 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Debian 12 | tomcat10 | Fixed | 10.1.6-1+deb12u1 | DEBIAN-CVE-2023-42795 |
| Debian 12 | tomcat9 | Fixed | 9.0.70-2 | DEBIAN-CVE-2023-42795 |
| Red Hat Enterprise Linux 10 | tomcat | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-admin-webapps | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-docs-webapp | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-el-5.0-api | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-jsp-3.1-api | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-lib | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-servlet-6.0-api | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 10 | tomcat-webapps | Fixed | 1:10.1.36-1.el10_0 | RHSA-2025:7497 |
| Red Hat Enterprise Linux 9 | pki-servlet-4.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | pki-servlet-engine | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | tomcat | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-admin-webapps | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-docs-webapp | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-el-3.0-api | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-lib | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 9 | tomcat-webapps | Fixed | 1:9.0.62-37.el9_3.1 | RHSA-2024:0474 |
| Red Hat Enterprise Linux 8 | pki-servlet-4.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | pki-servlet-container | Not affected | ||
| Red Hat Enterprise Linux 8 | pki-servlet-engine | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | tomcat | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-admin-webapps | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-docs-webapp | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-el-3.0-api | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-lib | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 8 | tomcat-webapps | Fixed | 1:9.0.62-27.el8_9.2 | RHSA-2024:0125 |
| Red Hat Enterprise Linux 7 | tomcat | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-admin-webapps | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-docs-webapp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-el-2.2-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-javadoc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-jsp-2.2-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-jsvc | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-lib | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-servlet-3.0-api | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | tomcat-webapps | Will not fix Will not fix | ||
| AlmaLinux 9 | tomcat | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-admin-webapps | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-docs-webapp | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-el-3.0-api | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-lib | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 9 | tomcat-webapps | Fixed | 1:9.0.62-37.el9_3.1 | ALSA-2024:0474 |
| AlmaLinux 8 | tomcat | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-admin-webapps | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-docs-webapp | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-el-3.0-api | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-jsp-2.3-api | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-lib | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-servlet-4.0-api | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| AlmaLinux 8 | tomcat-webapps | Fixed | 1:9.0.62-27.el8_9.2 | ALSA-2024:0125 |
| Maven library | org.apache.tomcat.embed:tomcat-embed-core | Fixed | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven library | org.apache.tomcat:tomcat | Fixed | 9.0.81 | GHSA-g8pj-r55q-5c2v |
| Maven library | org.apache.tomcat:tomcat-catalina | Fixed | 10.1.14 | GHSA-g8pj-r55q-5c2v |
| Maven library | org.apache.tomcat:tomcat-util | Fixed | 9.0.81 | GHSA-g8pj-r55q-5c2v |
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.
- Apache Software Foundation Apache Tomcat: affected: 11.0.0-M1 to 11.0.0-M11, 10.1.0-M1 to 10.1.13, 9.0.0-M1 to 9.0.80, 8.5.0 to 8.5.93
Vendor advisories:
- https://lists.apache.org/thread/065jfyo583490r9j2v73nhpyxdob56lw (vendor-advisory)
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.