CVE-2019-10072: Apache Tomcat Improper Locking Vulnerability
HIGHCVE-2019-10072 is a HIGH (CVSS 7.5) improper locking vulnerability (CWE-667: Improper Locking) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves improper locking in apache tomcat. Remediation is available by upgrading affected packages to version 9.0.20, 8.5.41.
CVE-2019-10072 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2019-10072
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.20</version>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-core</artifactId>
<version>8.5.41</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 CVE-2019-10072, 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.20), 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 CWE-667: Improper Locking, where the product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors. 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-2019-10072 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.20
|
9.0.20
|
|
org.apache.tomcat.embed:tomcat-embed-core
|
Maven |
≥ 8.5.0
< 8.5.41
|
8.5.41
|
References
Frequently Asked Questions
What is CVE-2019-10072?
Which Apache Tomcat versions are affected?
What version fixes CVE-2019-10072?
Is tomcat-embed-core affected?
What is the CVSS score of CVE-2019-10072?
What CWE is associated with CVE-2019-10072?
How can I check Maven dependencies for CVE-2019-10072?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q4hg-rmq2-52q9",
"modified" : "2024-03-11T15:39:14Z",
"published" : "2019-06-26T01:09:40Z",
"aliases" : [ "CVE-2019-10072" ],
"summary" : "Improper Locking in Apache Tomcat",
"details" : "The fix for CVE-2019-0199 was incomplete and did not address HTTP/2 connection window exhaustion on write in Apache Tomcat versions 9.0.0.M1 to 9.0.19 and 8.5.0 to 8.5.40 . By not sending WINDOW_UPDATE messages for the connection window (stream 0) clients were able to cause server-side threads to block eventually leading to thread exhaustion and a DoS.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "9.0.0.M1"
}, {
"fixed" : "9.0.20"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.tomcat.embed:tomcat-embed-core"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "8.5.0"
}, {
"fixed" : "8.5.41"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10072"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/0bcd69c9dd8ae0ff424f2cd46de51583510b7f35"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/7f748eb6bfaba5207c89dbd7d5adf50fae847145"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/8d14c6f21d29768a39be4b6b9517060dc6606758"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/tomcat/commit/ada725a50a60867af3422c8e612aecaeea856a9a"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20190625-0002"
}, {
"type" : "WEB",
"url" : "https://support.f5.com/csp/article/K17321505"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-8.html"
}, {
"type" : "WEB",
"url" : "https://tomcat.apache.org/security-9.html"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/4128-1"
}, {
"type" : "WEB",
"url" : "https://usn.ubuntu.com/4128-2"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227033743/http://www.securityfocus.com/bid/108874"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2020/dsa-4680"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuApr2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujan2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
}, {
"type" : "WEB",
"url" : "https://www.synology.com/security/advisory/Synology_SA_19_29"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/df1a2c1b87c8a6c500ecdbbaf134c7f1491c8d79d98b48c6b9f0fa6a@%3Cannounce.tomcat.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/df1a2c1b87c8a6c500ecdbbaf134c7f1491c8d79d98b48c6b9f0fa6a%40%3Cannounce.tomcat.apache.org%3E"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/tomcat"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3931"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3929"
}, {
"type" : "WEB",
"url" : "http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00013.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-667" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2019-06-26T00:56:45Z",
"nvd_published_at" : "2019-06-21T18:15:00Z"
}
}