CVE-2024-7708

Buffer Leak During HTTP Body Parsing Leads to Resource Exhaustion in Eclipse Jetty

Published Jul 14, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
For requests that have a body, but reading the body may end up in reading 0 bytes, there is a buffer leak.
This is particularly the case for 100-Continue, but any request where the network is slow can leak.

Analysis

AI-generated

Technical impact

A bug in Eclipse Jetty allows a buffer leak when the server reads a request body that may return zero bytes. The leak occurs during normal body processing, such as during the 100‑Continue handshake or when an incoming connection is slow. Each missed read can cause the framework to allocate memory that is never freed, gradually consuming available heap. If the leak persists, an attacker could trigger repeated empty body reads to exhaust system memory, leading to application crashes or degraded performance that effectively denies legitimate users access. This flaw corresponds to CWE-400 (Resource Exhaustion) and CWE-401 (Memory Leak).

Affected Systems

Eclipse Jetty, the open‑source HTTP server and servlet container maintained by the Eclipse Foundation, is affected. No specific version range is listed in the CNA data, so all releases that run the vulnerable body parsing code must be considered at risk until a patch is released.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.5, indicating high severity, but its EPSS score is below 1%, suggesting it is not commonly exploited in the wild at this time. The issue is not included in CISA’s KEV catalog. The attack vector is inferred to be network-based, requiring the attacker to send malicious HTTP requests to a Jetty instance. Since the exploit exploits a legitimate protocol feature, detection may be challenging without monitoring numeric memory consumption. The low EPSS indicates that, the high impact warrants vigilance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Jetty release that addresses the buffer leak bug
  • If an immediate upgrade is not feasible, disable the use of HTTP 100-Continue or configure the server to reject empty body requests
  • Set a global maximum request body size and enable strict timeout handling for slow connections to prevent prolonged buffer allocation
  • Monitor JVM heap usage and set alerts for sudden spikes that may indicate a buffer exhaustion attack

Generated by OpenCVE AI on July 31, 2026 at 10:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-9299-c6m4-mjhc Eclipse Jetty: DoS attack triggering OutOfMemory with 100-Continue requests
History
Type Values Removed Values Added
Title Buffer Leak During HTTP Body Parsing Leads to Resource Exhaustion in Eclipse Jetty
Type Values Removed Values Added
Title Jetty Buffer Leak Leading to Memory Exhaustion via 100-Continue
Type Values Removed Values Added
Title Jetty Buffer Leak Leading to Memory Exhaustion via 100-Continue
Type Values Removed Values Added
Title Buffer Leak from Empty Body Reads in Eclipse Jetty
Type Values Removed Values Added
Title Buffer Leak from Empty Body Reads in Eclipse Jetty
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse jetty
Vendors & Products Eclipse
Eclipse jetty
Type Values Removed Values Added
Description For requests that have a body, but reading the body may end up in reading 0 bytes, there is a buffer leak. This is particularly the case for 100-Continue, but any request where the network is slow can leak.
Weaknesses CWE-400
CWE-401
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-401

    Missing Release of Memory after Effective Lifetime

Sources

Status
PUBLISHED
Assigner
eclipse
Published
Updated
Jul 14, 2026, 12:17 PM
Reserved
Aug 12, 2024, 4:15 PM
Status
Analyzed
Published
Jul 14, 2026, 9:16 AM
Modified
Oct 2, 2026, 12:10 AM