CVE-2024-13009: Jetty server **UNSUPPORTED WHEN ASSIGNED** GzipHandler Causes Vulnerability

HIGH
Advisory Identifier: GHSA-q4rv-gq96-w7c5
CVSS 7.2
CWE-404
Published
Advisory Summary

CVE-2024-13009 is a HIGH (CVSS 7.2) **unsupported when assigned** gziphandler causes vulnerability (CWE-404: Improper Resource Shutdown or Release) affecting Jetty server libraries in the Maven ecosystem. The issue involves **unsupported when assigned** gziphandler causes part of request body to be seen as request body of a separate request. Remediation is available by upgrading affected packages to version 9.4.57.v20241219.

CVE-2024-13009 at a Glance

CVE Identifier CVE-2024-13009
GHSA Identifier GHSA-q4rv-gq96-w7c5
Severity HIGH
CVSS v3.1 Base Score 7.2
CWE Classification CWE-404: Improper Resource Shutdown or Release
Affected Product Jetty server
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.2

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:C/C:L/I:L/A:N).

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

How to Fix CVE-2024-13009

To remediate this vulnerability, upgrade all affected Jetty server 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-server fixed: 9.4.57.v20241219
<dependency>
    <groupId>org.eclipse.jetty</groupId>
    <artifactId>jetty-server</artifactId>
    <version>9.4.57.v20241219</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-13009, 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 server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.4.57.v20241219), 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-404: Improper Resource Shutdown or Release, where the product does not release or incorrectly releases a resource before it is made available for re-use. In Jetty server, 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

In Eclipse Jetty versions 9.4.0 to 9.4.56 a buffer can be incorrectly released when confronted with a gzip error when inflating a request body. This can result in corrupted and/or inadvertent sharing of data between requests.

CVE-2024-13009 Affected Jetty server Versions

1 component(s)
Fixed Versions:
9.4.57.v20241219
Product / Package Ecosystem Affected Versions Fixed Version
org.eclipse.jetty:jetty-server
Maven
≥ 9.4.0
< 9.4.57.v20241219
9.4.57.v20241219

References

Frequently Asked Questions

What is CVE-2024-13009?
CVE-2024-13009 is a security vulnerability in Jetty server involving **UNSUPPORTED WHEN ASSIGNED** GzipHandler causes part of request body to be seen as request body of a separate request under CWE-404: Improper Resource Shutdown or Release.
Which Jetty server versions are affected?
Affected versions include releases prior to 9.4.57.v20241219 across affected packages: org.eclipse.jetty:jetty-server.
What version fixes CVE-2024-13009?
Upgrading to 9.4.57.v20241219 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jetty-server affected?
Yes, org.eclipse.jetty:jetty-server is affected in releases prior to 9.4.57.v20241219. Upgrade your dependency to 9.4.57.v20241219 or later.
What is the CVSS score of CVE-2024-13009?
CVE-2024-13009 has a CVSS v3.1 base score of 7.2 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2024-13009?
CVE-2024-13009 is classified under CWE-404: Improper Resource Shutdown or Release (The product does not release or incorrectly releases a resource before it is made available for re-use.).
How can I check Maven dependencies for CVE-2024-13009?
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-q4rv-gq96-w7c5",
  "modified" : "2025-05-08T19:28:34Z",
  "published" : "2025-05-08T19:28:34Z",
  "aliases" : [ "CVE-2024-13009" ],
  "summary" : "**UNSUPPORTED WHEN ASSIGNED** GzipHandler causes part of request body to be seen as request body of a separate request",
  "details" : "In Eclipse Jetty versions 9.4.0 to 9.4.56 a buffer can be incorrectly released when confronted with a gzip error when inflating a request body. This can result in corrupted and/or inadvertent sharing of data between requests.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.eclipse.jetty:jetty-server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "9.4.0"
      }, {
        "fixed" : "9.4.57.v20241219"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 9.4.56"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jetty/jetty.project/security/advisories/GHSA-q4rv-gq96-w7c5"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-13009"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jetty/jetty.project"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignement/-/issues/48"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-404" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-05-08T19:28:34Z",
    "nvd_published_at" : "2025-05-08T18:15:41Z"
  }
}