CVE-2019-10072: Apache Tomcat Improper Locking Vulnerability

HIGH
Advisory Identifier: GHSA-q4hg-rmq2-52q9
CVSS 7.5
CWE-667
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2019-10072
GHSA Identifier GHSA-q4hg-rmq2-52q9
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-667: Improper Locking
Affected Product Apache Tomcat
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (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.

org.apache.tomcat.embed:tomcat-embed-core fixed: 9.0.20
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>9.0.20</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 8.5.41
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>8.5.41</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2019-10072 Affected Apache Tomcat Versions

2 component(s)
Fixed Versions:
9.0.208.5.41
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

NVD — CVE-2019-10072 NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-10072
Security Fix Commit FIX COMMIT
https://github.com/apache/tomcat/commit/0bcd69c9dd8ae0ff424f2cd46de51583510b7f35
Security Fix Commit FIX COMMIT
https://github.com/apache/tomcat/commit/7f748eb6bfaba5207c89dbd7d5adf50fae847145
Security Fix Commit FIX COMMIT
https://github.com/apache/tomcat/commit/8d14c6f21d29768a39be4b6b9517060dc6606758
Security Fix Commit FIX COMMIT
https://github.com/apache/tomcat/commit/ada725a50a60867af3422c8e612aecaeea856a9a
Apache Tomcat Security Information SECURITY
https://security.netapp.com/advisory/ntap-20190625-0002
support.f5.com/csp/article/k173215... WEB
https://support.f5.com/csp/article/K17321505
Apache Tomcat Security Information SECURITY
https://tomcat.apache.org/security-8.html
Apache Tomcat Security Information SECURITY
https://tomcat.apache.org/security-9.html
usn.ubuntu.com/4128-1 WEB
https://usn.ubuntu.com/4128-1
usn.ubuntu.com/4128-2 WEB
https://usn.ubuntu.com/4128-2
Apache Tomcat Security Information SECURITY
https://web.archive.org/web/20200227033743/http://www.securityfocus.com/bid/108874
Apache Tomcat Security Information SECURITY
https://www.debian.org/security/2020/dsa-4680
Apache Tomcat Security Information SECURITY
https://www.oracle.com/security-alerts/cpuApr2021.html
Apache Tomcat Security Information SECURITY
https://www.oracle.com/security-alerts/cpuapr2020.html
Apache Tomcat Security Information SECURITY
https://www.oracle.com/security-alerts/cpujan2020.html
Apache Tomcat Security Information SECURITY
https://www.oracle.com/security-alerts/cpuoct2020.html
Apache Tomcat Security Information SECURITY
https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Apache Tomcat Security Information SECURITY
https://www.synology.com/security/advisory/Synology_SA_19_29
lists.apache.org/thread.html/raba0fa... WEB
https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/raba0fa... WEB
https://lists.apache.org/thread.html/raba0fabaf4d56d4325ab2aca8814f0b30a237ab83d8106b115ee279a%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r6ccee4... WEB
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r6ccee4... WEB
https://lists.apache.org/thread.html/r6ccee4e849bc77df0840c7f853f6bd09d426f6741247da2b7429d5d9%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r48c144... WEB
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r48c144... WEB
https://lists.apache.org/thread.html/r48c1444845fe15a823e1374674bfc297d5008a5453788099ea14caf0%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r3bbb80... WEB
https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d@%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/r3bbb80... WEB
https://lists.apache.org/thread.html/r3bbb800a816d0a51eccc5a228c58736960a9fffafa581a225834d97d%40%3Cdev.tomcat.apache.org%3E
lists.apache.org/thread.html/df1a2c1... WEB
https://lists.apache.org/thread.html/df1a2c1b87c8a6c500ecdbbaf134c7f1491c8d79d98b48c6b9f0fa6a@%3Cannounce.tomcat.apache.org%3E
lists.apache.org/thread.html/df1a2c1... WEB
https://lists.apache.org/thread.html/df1a2c1b87c8a6c500ecdbbaf134c7f1491c8d79d98b48c6b9f0fa6a%40%3Cannounce.tomcat.apache.org%3E
Apache Tomcat Source Repository REPOSITORY
https://github.com/apache/tomcat
access.redhat.com/errata/rhsa-2019:39... WEB
https://access.redhat.com/errata/RHSA-2019:3931
access.redhat.com/errata/rhsa-2019:39... WEB
https://access.redhat.com/errata/RHSA-2019:3929
Apache Tomcat Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00013.html

Frequently Asked Questions

What is CVE-2019-10072?
CVE-2019-10072 is a security vulnerability in Apache Tomcat involving Improper Locking in Apache Tomcat under CWE-667: Improper Locking.
Which Apache Tomcat versions are affected?
Affected versions include releases prior to 9.0.20, 8.5.41 across affected packages: org.apache.tomcat.embed:tomcat-embed-core.
What version fixes CVE-2019-10072?
Upgrading to 9.0.20, 8.5.41 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tomcat-embed-core affected?
Yes, org.apache.tomcat.embed:tomcat-embed-core is affected in releases prior to 9.0.20, 8.5.41. Upgrade your dependency to 9.0.20, 8.5.41 or later.
What is the CVSS score of CVE-2019-10072?
CVE-2019-10072 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2019-10072?
CVE-2019-10072 is classified under CWE-667: Improper Locking (The product does not properly acquire or release a lock on a resource, leading to unexpected resource state changes and behaviors.).
How can I check Maven dependencies for CVE-2019-10072?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.tomcat.embed'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}