CVE-2024-6762: Jetty servlets Denial of Service Vulnerability

LOW
Advisory Identifier: GHSA-r7m4-f9h5-gr79
CVSS 3.1
CWE-400 CWE-770
Published
Advisory Summary

CVE-2024-6762 is a LOW (CVSS 3.1) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Jetty servlets libraries in the Maven ecosystem. The issue involves eclipse jetty's pushsessioncachefilter can cause remote dos attacks. Remediation is available by upgrading affected packages to version 10.0.18, 11.0.18, 12.0.4.

CVE-2024-6762 at a Glance

CVE Identifier CVE-2024-6762
GHSA Identifier GHSA-r7m4-f9h5-gr79
Severity LOW
CVSS v3.1 Base Score 3.1
CWE Classification CWE-400: Uncontrolled Resource Consumption
Affected Product Jetty servlets
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 3.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability Low (A:L)

How to Fix CVE-2024-6762

To remediate this vulnerability, upgrade all affected Jetty servlets 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.eclipse.jetty:jetty-servlets fixed: 10.0.18
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-servlets</artifactId>
    <version>10.0.18</version>
</dependency>
org.eclipse.jetty:jetty-servlets fixed: 11.0.18
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-servlets</artifactId>
    <version>11.0.18</version>
</dependency>
org.eclipse.jetty:jetty-servlets fixed: 12.0.4
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-servlets</artifactId>
    <version>12.0.4</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.eclipse.jetty

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2024-6762, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.eclipse.jetty

Analyze the terminal output to locate any version of Jetty servlets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 10.0.18), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.eclipse.jetty 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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Jetty servlets, 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

### Impact Jetty PushSessionCacheFilter can be exploited by unauthenticated users to launch remote DoS attacks by exhausting the server’s memory. ### Patches * https://github.com/jetty/jetty.project/pull/9715 * https://github.com/jetty/jetty.project/pull/9716 ### Workarounds The session usage is intrinsic to the design of the PushCacheFilter. The issue can be avoided by: + not using the PushCacheFilter. Push has been deprecated by the various IETF specs and early hints responses should be used instead. + reducing the reducing the idle timeout on unauthenticated sessions will reduce the time such session stay in memory. + configuring a session cache to use [session passivation](https://jetty.org/docs/jetty/12/programming-guide/server/session.html), so that sessions are not stored in memory, but rather in a database or file system that may have significantly more capacity than memory. ### References * https://github.com/jetty/jetty.project/pull/10756 * https://github.com/jetty/jetty.project/pull/10755

CVE-2024-6762 Affected Jetty servlets Versions

3 component(s)
Fixed Versions:
10.0.1811.0.1812.0.4
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-servlets
Maven
≥ 10.0.0
< 10.0.18
10.0.18
org.eclipse.jetty:jetty-servlets
Maven
≥ 11.0.0
< 11.0.18
11.0.18
org.eclipse.jetty:jetty-servlets
Maven
≥ 12.0.0
< 12.0.4
12.0.4

References

Frequently Asked Questions

What is CVE-2024-6762?
CVE-2024-6762 is a security vulnerability in Jetty servlets involving Eclipse Jetty's PushSessionCacheFilter can cause remote DoS attacks under CWE-400: Uncontrolled Resource Consumption.
Which Jetty servlets versions are affected?
Affected versions include releases prior to 10.0.18, 11.0.18, 12.0.4 across affected packages: org.eclipse.jetty:jetty-servlets.
What version fixes CVE-2024-6762?
Upgrading to 10.0.18, 11.0.18, 12.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-servlets affected?
Yes, org.eclipse.jetty:jetty-servlets is affected in releases prior to 10.0.18, 11.0.18, 12.0.4. Upgrade your dependency to 10.0.18, 11.0.18, 12.0.4 or later.
What is the CVSS score of CVE-2024-6762?
CVE-2024-6762 has a CVSS v3.1 base score of 3.1 (LOW) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2024-6762?
CVE-2024-6762 is classified under CWE-400: Uncontrolled Resource Consumption (The product does not properly control the allocation and maintenance of a limited resource.).
How can I check Maven dependencies for CVE-2024-6762?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.eclipse.jetty'. 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-r7m4-f9h5-gr79",
  "modified" : "2025-11-03T22:48:56Z",
  "published" : "2024-10-14T21:07:29Z",
  "aliases" : [ "CVE-2024-6762" ],
  "summary" : "Eclipse Jetty's PushSessionCacheFilter can cause remote DoS attacks",
  "details" : "### Impact\n Jetty PushSessionCacheFilter can be exploited by unauthenticated users to launch remote DoS attacks by exhausting the server’s memory.\n\n### Patches\n* https://github.com/jetty/jetty.project/pull/9715\n* https://github.com/jetty/jetty.project/pull/9716\n\n### Workarounds\nThe session usage is intrinsic to the design of the PushCacheFilter.  The issue can be avoided by:\n + not using the PushCacheFilter.  Push has been deprecated by the various IETF specs and early hints responses should be used instead.\n + reducing the reducing the idle timeout on unauthenticated sessions will reduce the time such session stay in memory.\n + configuring a session cache to use [session passivation](https://jetty.org/docs/jetty/12/programming-guide/server/session.html), so that sessions are not stored in memory, but rather in a database or file system that may have significantly more capacity than memory.\n\n### References\n* https://github.com/jetty/jetty.project/pull/10756\n* https://github.com/jetty/jetty.project/pull/10755",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-servlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "10.0.0"
      }, {
        "fixed" : "10.0.18"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 10.0.17"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-servlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "11.0.0"
      }, {
        "fixed" : "11.0.18"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 11.0.17"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-servlets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "12.0.0"
      }, {
        "fixed" : "12.0.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 12.0.3"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/security/advisories/GHSA-r7m4-f9h5-gr79"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-6762"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/10755"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/10756"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/9715"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/pull/9716"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jetty/jetty.project"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignement/-/issues/24"
  }, {
    "type" : "WEB",
    "url" : "https://lists.debian.org/debian-lts-announce/2025/04/msg00001.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-400", "CWE-770" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-14T21:07:29Z",
    "nvd_published_at" : "2024-10-14T16:15:03Z"
  }
}