Vulnerabilities in pkg:maven/org.apache.tomcat.experimental/tomcat-embed-programmatic
PACKAGECVE-2024-21733 is a MODERATE (CVSS 5.3) apache tomcat vulnerable to generation vulnerability (CWE-209: Generation of Error Message Containing Sensitive Information) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves apache tomcat vulnerable to generation of error message containing sensitive information. Remediation is available by upgrading affected packages to version 9.0.44, 8.5.64.
pkg:maven/org.apache.tomcat.experimental/tomcat-embed-programmatic
Vulnerability advisories affecting package pkg:maven/org.apache.tomcat.experimental/tomcat-embed-programmatic. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-f4qf-m5gf-8jm8 | CVE-2024-21733 | MODERATE | Apache Tomcat vulnerable to Generation of Error Message Containing Sensitive Information |
CVE-2024-21733 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-21733
To remediate this vulnerability, upgrade all affected Apache Tomcat dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-coyote</artifactId>
<version>9.0.44</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.5.64</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>9.0.44</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat</groupId>
<artifactId>tomcat-coyote</artifactId>
<version>8.5.64</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.experimental</groupId>
<artifactId>tomcat-embed-programmatic</artifactId>
<version>9.0.44</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.tomcat
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-21733, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.tomcat
Analyze the terminal output to locate any version of Apache Tomcat in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.0.44), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.tomcat command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-209: Generation of Error Message Containing Sensitive Information, where the product generates an error message that includes sensitive information about its environment, users, or associated data. In Apache Tomcat, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-21733 Affected Apache Tomcat Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat:tomcat-coyote
|
Maven |
≥ 9.0.0-M11
< 9.0.44
|
9.0.44
|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 8.5.7
< 8.5.64
|
8.5.64
|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 9.0.0-M11
< 9.0.44
|
9.0.44
|
|
org.apache.tomcat:tomcat-coyote
|
Maven |
≥ 8.5.7
< 8.5.64
|
8.5.64
|
|
org.apache.tomcat.experimental:tomcat-embed-programmatic
|
Maven |
≥ 9.0.43
< 9.0.44
|
9.0.44
|
References
Frequently Asked Questions
What is CVE-2024-21733?
Which Apache Tomcat versions are affected?
What version fixes CVE-2024-21733?
Is tomcat-coyote affected?
Is tomcat-embed-core affected?
What is the CVSS score of CVE-2024-21733?
What CWE is associated with CVE-2024-21733?
How can I check Maven dependencies for CVE-2024-21733?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f4qf-m5gf-8jm8",
"modified" : "2026-06-18T23:16:08Z",
"published" : "2024-01-19T12:30:18Z",
"aliases" : [ "CVE-2024-21733" ],
"summary" : "Apache Tomcat vulnerable to Generation of Error Message Containing Sensitive Information",
"details" : "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.\n\nUsers are recommended to upgrade to version 8.5.64 onwards or 9.0.44 onwards, which contain a fix for the issue.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat-coyote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0-M11"
}, {
"fixed" : "9.0.44"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.7"
}, {
"fixed" : "8.5.64"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0-M11"
}, {
"fixed" : "9.0.44"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat:tomcat-coyote"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.7"
}, {
"fixed" : "8.5.64"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.experimental:tomcat-embed-programmatic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.43"
}, {
"fixed" : "9.0.44"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-21733"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/86ccc43940861703c2be96a5f35384407522125a"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/ce4b154e7b48f66bd98858626347747cd2514311"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/tomcat"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/h9bjqdd0odj6lhs2o96qgowcc6hb0cfz"
}, {
"type" : "WEB",
"url" : "https://lists.debian.org/debian-lts-announce/2025/01/msg00009.html"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20240216-0005"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-8.html"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-9.html"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/176951/Apache-Tomcat-8.5.63-9.0.43-HTTP-Response-Smuggling.html"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2024/01/19/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-209" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-01-29T22:30:43Z",
"nvd_published_at" : "2024-01-19T11:15:08Z"
}
}