Skip to content
OpenAdvisories
Medium · 5.3 Public exploit CVE-2024-21733 BIT-tomcat-2024-21733EUVD-2024-0340GHSA-f4qf-m5gf-8jm8

Apache Tomcat: Leaking of unrelated request bodies in default error page

Published Jan 19, 2024 · Updated Nov 3, 2025 · Assigned by apache

Description

Generation of Error Message Containing Sensitive Information vulnerability in Apache Tomcat.This issue affects Apache Tomcat: from 8.5.7 through 8.5.63, from 9.0.0-M11 through 9.0.43. Other, EOL versions may also be affected.

Users are recommended to upgrade to version 8.5.64 onwards or 9.0.44 onwards, which contain a fix for the issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache Tomcat 8.5.7 – ≤ 8.5.63, 9.0.0-M11 – ≤ 9.0.43 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 tomcat9 9.0.53-1 —
Debian 13 tomcat9 9.0.53-1 —
Debian 12 tomcat9 9.0.53-1 —
Debian 11 tomcat9 9.0.43-2~deb11u11 DLA-4017-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS tomcat10 10.1.16-1ubuntu0.1~esm2 USN-7562-1
Ubuntu Pro 24.04 LTS tomcat9 9.0.70-2ubuntu0.1+esm2 USN-7562-1
Ubuntu Pro 22.04 LTS tomcat9 9.0.58-1ubuntu0.2+esm3 USN-7562-1
Ubuntu Pro 20.04 LTS tomcat9 9.0.31-1ubuntu0.9+esm2 USN-7562-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS tomcat8 8.5.39-1ubuntu1~18.04.3+esm5 USN-7562-1
Ubuntu Pro 18.04 LTS tomcat9 9.0.16-3ubuntu0.18.04.2+esm7 USN-7562-1
Ubuntu Pro 14.04 LTS tomcat6 No fix yet —
ReleasePackageFixed inAdvisory
SLES 12 SP5 tomcat 9.0.36-3.121.1 SUSE-SU-2026:1058-1, SUSE-SU-2024:0829-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP5 tomcat 9.0.36-3.121.1 SUSE-SU-2024:0829-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.tomcat:tomcat-coyote >= 9.0.0-M11, < 9.0.44 9.0.44 GHSA-f4qf-m5gf-8jm8
Maven org.apache.tomcat:tomcat-coyote >= 8.5.7, < 8.5.64 8.5.64 GHSA-f4qf-m5gf-8jm8
Maven org.apache.tomcat.embed:tomcat-embed-core >= 8.5.7, < 8.5.64 8.5.64 GHSA-f4qf-m5gf-8jm8
Maven org.apache.tomcat.embed:tomcat-embed-core >= 9.0.0-M11, < 9.0.44 9.0.44 GHSA-f4qf-m5gf-8jm8
Maven org.apache.tomcat.experimental:tomcat-embed-programmatic >= 9.0.43, < 9.0.44 9.0.44 GHSA-f4qf-m5gf-8jm8

Advisories 6

References