CVE-2024-24549: Apache Tomcat Denial of Service Vulnerability

MODERATE
Advisory Identifier: GHSA-7w75-32cg-r6g2
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2024-24549 is a MODERATE (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Apache Tomcat libraries in the Maven ecosystem. The issue involves apache tomcat denial of service due to improper input validation vulnerability for http/2 requests. Remediation is available by upgrading affected packages to version 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99.

CVE-2024-24549 at a Glance

CVE Identifier CVE-2024-24549
GHSA Identifier GHSA-7w75-32cg-r6g2
Severity MODERATE
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
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.1/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-2024-24549

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:tomcat-coyote fixed: 11.0.0-M17
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-coyote</artifactId>
    <version>11.0.0-M17</version>
</dependency>
org.apache.tomcat:tomcat-coyote fixed: 10.1.19
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-coyote</artifactId>
    <version>10.1.19</version>
</dependency>
org.apache.tomcat:tomcat-coyote fixed: 9.0.86
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-coyote</artifactId>
    <version>9.0.86</version>
</dependency>
org.apache.tomcat:tomcat-coyote fixed: 8.5.99
<dependency>
    <groupId>org.apache.tomcat</groupId>
    <artifactId>tomcat-coyote</artifactId>
    <version>8.5.99</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 8.5.99
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>8.5.99</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 9.0.86
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>9.0.86</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 10.1.19
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>10.1.19</version>
</dependency>
org.apache.tomcat.embed:tomcat-embed-core fixed: 11.0.0-M17
<dependency>
    <groupId>org.apache.tomcat.embed</groupId>
    <artifactId>tomcat-embed-core</artifactId>
    <version>11.0.0-M17</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

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-24549, 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 11.0.0-M17), 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. 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

Denial of Service due to improper input validation vulnerability for HTTP/2 requests in Apache Tomcat. When processing an HTTP/2 request, if the request exceeded any of the configured limits for headers, the associated HTTP/2 stream was not reset until after all of the headers had been processed.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M16, from 10.1.0-M1 through 10.1.18, from 9.0.0-M1 through 9.0.85, from 8.5.0 through 8.5.98. Users are recommended to upgrade to version 11.0.0-M17, 10.1.19, 9.0.86 or 8.5.99 which fix the issue.

CVE-2024-24549 Affected Apache Tomcat Versions

8 component(s)
Fixed Versions:
11.0.0-M1710.1.199.0.868.5.99
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.tomcat:tomcat-coyote
Maven
≥ 11.0.0-M1
< 11.0.0-M17
11.0.0-M17
org.apache.tomcat:tomcat-coyote
Maven
≥ 10.1.0-M1
< 10.1.19
10.1.19
org.apache.tomcat:tomcat-coyote
Maven
≥ 9.0.0-M1
< 9.0.86
9.0.86
org.apache.tomcat:tomcat-coyote
Maven
≥ 8.5.0
< 8.5.99
8.5.99
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 8.5.0
< 8.5.99
8.5.99
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 9.0.0-M1
< 9.0.86
9.0.86
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 10.1.0-M1
< 10.1.19
10.1.19
org.apache.tomcat.embed:tomcat-embed-core
Maven
≥ 11.0.0-M1
< 11.0.0-M17
11.0.0-M17

References

Frequently Asked Questions

What is CVE-2024-24549?
CVE-2024-24549 is a security vulnerability in Apache Tomcat involving Apache Tomcat Denial of Service due to improper input validation vulnerability for HTTP/2 requests under CWE-20: Improper Input Validation.
Which Apache Tomcat versions are affected?
Affected versions include releases prior to 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 across affected packages: org.apache.tomcat:tomcat-coyote, org.apache.tomcat.embed:tomcat-embed-core.
What version fixes CVE-2024-24549?
Upgrading to 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tomcat-coyote affected?
Yes, org.apache.tomcat:tomcat-coyote is affected in releases prior to 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99. Upgrade your dependency to 11.0.0-M17, 10.1.19, 9.0.86, 8.5.99 or later.
Is tomcat-embed-core affected?
Yes, org.apache.tomcat.embed:tomcat-embed-core is affected in releases prior to 8.5.99, 9.0.86, 10.1.19, 11.0.0-M17. Upgrade your dependency to 8.5.99, 9.0.86, 10.1.19, 11.0.0-M17 or later.
What is the CVSS score of CVE-2024-24549?
CVE-2024-24549 has a CVSS v3.1 base score of 7.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2024-24549?
CVE-2024-24549 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2024-24549?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.tomcat'. 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-7w75-32cg-r6g2",
  "modified" : "2025-10-29T14:49:23Z",
  "published" : "2024-03-13T18:31:34Z",
  "aliases" : [ "CVE-2024-24549" ],
  "summary" : "Apache Tomcat Denial of Service due to improper input validation vulnerability for HTTP/2 requests",
  "details" : "Denial of Service due to improper input validation vulnerability for HTTP/2 requests in Apache Tomcat. When processing an HTTP/2 request, if the request exceeded any of the configured limits for headers, the associated HTTP/2 stream was not reset until after all of the headers had been processed.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M16, from 10.1.0-M1 through 10.1.18, from 9.0.0-M1 through 9.0.85, from 8.5.0 through 8.5.98.\n\nUsers are recommended to upgrade to version 11.0.0-M17, 10.1.19, 9.0.86 or 8.5.99 which fix the issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-coyote"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-M1"
      }, {
        "fixed" : "11.0.0-M17"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.0.0-M16"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-coyote"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.1.0-M1"
      }, {
        "fixed" : "10.1.19"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.1.18"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-coyote"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.86"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.0.85"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat:tomcat-coyote"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.99"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 8.5.98"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "8.5.0"
      }, {
        "fixed" : "8.5.99"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 8.5.98"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.0.0-M1"
      }, {
        "fixed" : "9.0.86"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.0.85"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.1.0-M1"
      }, {
        "fixed" : "10.1.19"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.1.18"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.tomcat.embed:tomcat-embed-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0-M1"
      }, {
        "fixed" : "11.0.0-M17"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.0.0-M16"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-24549"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/0cac540a882220231ba7a82330483cbd5f6b1f96"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/810f49d5ff6d64b704af85d5b8d0aab9ec3c83f5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/8e03be9f2698f2da9027d40b9e9c0c9429b74dc0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/tomcat/commit/d07c82194edb69d99b438828fe2cbfadbb207843"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/tomcat"
  }, {
    "type" : "WEB",
    "url" : "https://lists.apache.org/thread/4c50rmomhbbsdgfjsgwlb51xdwfjdcvg"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2024/04/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3UWIS5MMGYDZBLJYT674ZI5AWFHDZ46B"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/736G4GPZWS2DSQO5WKXO3G6OMZKFEK55"
  }, {
    "type" : "WEB",
    "url" : "https://security.netapp.com/advisory/ntap-20240402-0002"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2024/03/13/3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-03-15T16:27:53Z",
    "nvd_published_at" : "2024-03-13T16:15:29Z"
  }
}