GHSA-r53m-pfr5-7v87: Apache Tomcat Tomcat-embed-core Vulnerability
MODERATEGHSA-r53m-pfr5-7v87 is a MODERATE tomcat-embed-core vulnerability (General Security Weakness) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves tomcat-embed-core. Remediation is available by upgrading affected packages to version 9.0.16, 8.5.38.
GHSA-r53m-pfr5-7v87 at a Glance
How to Fix GHSA-r53m-pfr5-7v87
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.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>9.0.16</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.5.38</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.embed
How to Check if You Are Affected
To determine whether your Java application is affected by GHSA-r53m-pfr5-7v87, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.tomcat.embed
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.16), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.tomcat.embed 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 General Security Weakness. 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
GHSA-r53m-pfr5-7v87 Affected Apache Tomcat Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 9.0.0.M1
< 9.0.16
|
9.0.16
|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 8.5.0
< 8.5.38
|
8.5.38
|
References
Frequently Asked Questions
What is GHSA-r53m-pfr5-7v87?
Which Apache Tomcat versions are affected?
What version fixes GHSA-r53m-pfr5-7v87?
Is tomcat-embed-core affected?
What CWE is associated with GHSA-r53m-pfr5-7v87?
How can I check Maven dependencies for GHSA-r53m-pfr5-7v87?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r53m-pfr5-7v87",
"modified" : "2020-06-17T15:15:06Z",
"published" : "2019-04-18T14:50:19Z",
"withdrawn" : "2020-06-17T15:15:06Z",
"aliases" : [ ],
"summary" : "Moderate severity vulnerability that affects org.apache.tomcat.embed:tomcat-embed-core",
"details" : "**Withdrawn:** Duplicate of GHSA-qcxh-w3j9-58qr",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0.M1"
}, {
"fixed" : "9.0.16"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 9.0.14"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.38"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0199"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-r53m-pfr5-7v87"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-17T15:15:06Z",
"nvd_published_at" : null
}
}