CVE-2024-9622: Resteasy netty4 cdi HTTP Request Smuggling Leading To Vulnerability

MODERATE
Advisory Identifier: GHSA-5wpr-cj9p-959r
CVSS 5.3
CWE-444
Published
Advisory Summary

CVE-2024-9622 is a MODERATE (CVSS 5.3) http request smuggling leading to vulnerability (CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')) affecting Resteasy netty4 cdi libraries in the Maven ecosystem. The issue involves http request smuggling leading to client timeouts in resteasy-netty4. Remediation is available in the latest vendor maintenance releases.

CVE-2024-9622 at a Glance

CVE Identifier CVE-2024-9622
GHSA Identifier GHSA-5wpr-cj9p-959r
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected Product Resteasy netty4 cdi
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.3

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:L).

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 Low (A:L)

How to Fix CVE-2024-9622

To remediate this vulnerability, upgrade all affected Resteasy netty4 cdi 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.jboss.resteasy:resteasy-netty4-cdi fixed: Latest secure release
<dependency>
    <groupId>org.jboss.resteasy</groupId>
    <artifactId>resteasy-netty4-cdi</artifactId>
    <version>Latest secure release</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.jboss.resteasy

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.jboss.resteasy

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

Note: The mvn dependency:tree -Dincludes=org.jboss.resteasy 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-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), where the product acts as an intermediary http agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed http requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination. In Resteasy netty4 cdi, 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

A vulnerability was found in the resteasy-netty4 library arising from improper handling of HTTP requests using smuggling techniques. When an HTTP smuggling request with an ASCII control character is sent, it causes the Netty HttpObjectDecoder to transition into a BAD_MESSAGE state. As a result, any subsequent legitimate requests on the same connection are ignored, leading to client timeouts, which may impact systems using load balancers and expose them to risk.

CVE-2024-9622 Affected Resteasy netty4 cdi Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
org.jboss.resteasy:resteasy-netty4-cdi
Maven

References

Frequently Asked Questions

What is CVE-2024-9622?
CVE-2024-9622 is a security vulnerability in Resteasy netty4 cdi involving HTTP Request Smuggling Leading to Client Timeouts in resteasy-netty4 under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling').
Which Resteasy netty4 cdi versions are affected?
Affected versions include releases prior to current release patches across affected packages: org.jboss.resteasy:resteasy-netty4-cdi.
What version fixes CVE-2024-9622?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is resteasy-netty4-cdi affected?
Yes, org.jboss.resteasy:resteasy-netty4-cdi is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2024-9622?
CVE-2024-9622 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
What CWE is associated with CVE-2024-9622?
CVE-2024-9622 is classified under CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (The product acts as an intermediary HTTP agent (such as a proxy or firewall) in the data flow between two entities such as a client and server, but it does not interpret malformed HTTP requests or responses in ways that are consistent with how the messages will be processed by those entities that are at the ultimate destination.).
How can I check Maven dependencies for CVE-2024-9622?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.jboss.resteasy'. 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-5wpr-cj9p-959r",
  "modified" : "2024-10-08T22:23:06Z",
  "published" : "2024-10-08T18:33:14Z",
  "aliases" : [ "CVE-2024-9622" ],
  "summary" : "HTTP Request Smuggling Leading to Client Timeouts in resteasy-netty4",
  "details" : "A vulnerability was found in the resteasy-netty4 library arising from improper handling of HTTP requests using smuggling techniques. When an HTTP smuggling request with an ASCII control character is sent, it causes the Netty HttpObjectDecoder to transition into a BAD_MESSAGE state. As a result, any subsequent legitimate requests on the same connection are ignored, leading to client timeouts, which may impact systems using load balancers and expose them to risk.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.jboss.resteasy:resteasy-netty4-cdi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 7.0.0.Alpha3"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-9622"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2024-9622"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2317179"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/orgs/resteasy/discussions/4351"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/resteasy/resteasy"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-444" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-10-08T22:23:06Z",
    "nvd_published_at" : "2024-10-08T17:15:57Z"
  }
}