CVE-2024-9622: Resteasy netty4 cdi HTTP Request Smuggling Leading To Vulnerability
MODERATECVE-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
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).
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.
<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-netty4-cdi</artifactId>
<version>Latest secure release</version>
</dependency>
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
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?
Which Resteasy netty4 cdi versions are affected?
What version fixes CVE-2024-9622?
Is resteasy-netty4-cdi affected?
What is the CVSS score of CVE-2024-9622?
What CWE is associated with CVE-2024-9622?
How can I check Maven dependencies for CVE-2024-9622?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}