TomcatWeb server / proxy · Apache

CVE-2024-34750

HIGH · 7.5 CVSS v3.1 Published 2024-07-03
Fix available
A fix is available. Upgrade to 9.0.90 / 10.1.25 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Handling of Exceptional Conditions, Uncontrolled Resource Consumption vulnerability in Apache Tomcat. When processing an HTTP/2 stream, Tomcat did not handle some cases of excessive HTTP headers correctly. This led to a miscounting of active HTTP/2 streams which in turn led to the use of an incorrect infinite timeout which allowed connections to remain open which should have been closed. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M20, from 10.1.0-M1 through 10.1.24, from 9.0.0-M1 through 9.0.89. The following versions were EOL at the time the CVE was created but are known to be affected: 8.5.0 though 8.5.100. Other EOL versions may also be affected. Users are recommended to upgrade to version 11.0.0-M21, 10.1.25 or 9.0.90, which fixes the issue.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

In Apache Tomcat, when processing HTTP/2 streams with excessive HTTP headers, the server incorrectly counted active streams. This miscount led to an incorrect infinite timeout being applied, causing connections that should have been terminated to remain open indefinitely, resulting in uncontrolled resource consumption and potential denial of service.

MitigationUpgrade Apache Tomcat to version 11.0.0-M21, 10.1.25, or 9.0.90 to patch the improper HTTP/2 stream handling that causes connection leaks.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
TomcatWeb server / proxy
Affected:>= 9.0.0, < 9.0.90>= 10.1.0, < 10.1.25= 11.0.0
Ontap ToolsApplication
Affected:= 9

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Apache Tomcat installation and version
    Check for Tomcat installation directories and examine the release notes or version file (such as RELEASE-NOTES or the version.jar). Common locations include /opt/tomcat, /usr/share/tomcat, or C:\Program Files\Apache Software Foundation\Tomcat. The version is typically visible in the server startup output or in the RELEASE-NOTES file within the Tomcat home directory.
    Affected if The installed version falls within 9.0.0 to 9.0.89, 10.1.0 to 10.1.24, or is exactly 11.0.0.
  2. Determine if HTTP/2 connector is enabled
    Examine the server.xml configuration file (typically located in the conf/ directory of the Tomcat installation). Look for an <Connector> element with protocol="org.apache.coyote.http2.Http2Protocol" or check for upgradeProtocol="HTTP/2" attribute. This can also be identified by reviewing the startup logs for HTTP/2 initialization messages.
    Affected if HTTP/2 protocol support is enabled on at least one connector in the Tomcat configuration.
  3. Check for stuck or lingering HTTP/2 connections
    Monitor active connections using operating system tools (such as netstat or ss on Linux, or netstat on Windows) targeting the Tomcat listener port. Look for connections in established state that persist for an unusually long time, particularly connections that should have timed out based on configured timeout settings.
    Affected if There are HTTP/2 connections that remain in an established state indefinitely beyond the expected timeout period, indicating the connection leak condition.
  4. Review Tomcat access logs for incomplete requests
    Examine the localhost_access_log or access logs in the logs/ directory. Look for HTTP/2 stream requests with excessive headers that may appear incomplete or show abnormal timing patterns. Correlate these with the connection states observed.
    Affected if Access logs show HTTP/2 requests with large header counts that never complete or show abnormal connection duration patterns.

A system is affected if it runs a vulnerable Apache Tomcat version (9.0.0-9.0.89, 10.1.0-10.1.24, or 11.0.0) with HTTP/2 protocol enabled and exhibits connections that remain open indefinitely beyond configured timeouts.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 9.0.90 / 10.1.25 or later
Fixed in 9.0.9010.1.25
Interim mitigation

Upgrade Apache Tomcat to version 11.0.0-M21, 10.1.25, or 9.0.90 to patch the improper HTTP/2 stream handling that causes connection leaks.

Recommended fix High confidence

9.0.90 for 9.x branch, 10.1.25 for 10.1.x branch, or 11.0.0-M21 for 11.x branch

  1. 1. Identify the currently running Tomcat version by checking the $CATALINA_HOME/README RELEASE-NOTES or running 'catalina.sh version'
  2. 2. Stop the Tomcat service/application
  3. 3. Download the appropriate fixed Tomcat version from the official Apache Tomcat download page (https://tomcat.apache.org/)
  4. 4. For Tomcat 9.x users: upgrade to version 9.0.90
  5. 5. For Tomcat 10.1.x users: upgrade to version 10.1.25
  6. 6. For Tomcat 11.x users: upgrade to version 11.0.0-M21
  7. 7. Backup the existing Tomcat installation and configuration files
  8. 8. Extract the new version and restore custom configurations from the backup
Caveat Minor version upgrades within the same major branch typically have minimal breaking changes; however, review the Tomcat release notes for any configuration or API changes

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Tomcat Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing8.0 h
  • Review / QA4.0 h
24.0 hours of engineering $4,160
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-34750 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-34750 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data