CVE-2024-6162
Undertow: url-encoded request path information can be broken on ajp-listener
Also known as GHSA-9442-gm4v-r222
Mitigation
- Upgrade io.undertow:undertow-core to one of 2.3.14.Final, 2.2.33.Final (or later in the same release line).
- Vendor workaround: To mitigate this issue, you can either switch to a different listener like the http-listener, or adjust the AJP listener configuration. By setting decode-url="false" on the AJP listener and configuring a separate URL decoding filter, you can prevent the path decoding errors. This adjustment ensures that each request is processed correctly without interference from concurrent requests.
Who should check
- Projects that depend on Maven package io.undertow:undertow-core (>= 2.3.0.Alpha1, < 2.3.14.Final)
- Anyone running undertow < 2.2.33.Final; >= 2.3.0.Alpha1, < 2.3.14
- Anyone running Red Hat EAP 8.0.1 (versions: see the vendor advisory)
- Anyone running Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform Expansion Pack (versions: see the vendor advisory)
- Anyone running Red Hat build of Apache Camel for Spring Boot 3 all versions
- Anyone running Red Hat build of Apache Camel - HawtIO 4 (versions: see the vendor advisory)
- Anyone running Red Hat Build of Keycloak (versions: see the vendor advisory)
Vulnerability facts
- Affected
- io.undertow:undertow-core >= 2.3.0.Alpha1, < 2.3.14.Final
- Fixed in
- 2.3.14.Final, 2.2.33.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 3.15% chance of exploitation in 30 days (percentile 89, 2026-11-26)
- CWE
- CWE-488
- Modified
Description
A vulnerability was found in Undertow, where URL-encoded request paths can be mishandled during concurrent requests on the AJP listener. This issue arises because the same buffer is used to decode the paths for multiple requests simultaneously, leading to incorrect path information being processed. As a result, the server may attempt to access the wrong path, causing errors such as "404 Not Found" or other application failures. This flaw can potentially lead to a denial of service, as legitimate resources become inaccessible due to the path mix-up.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.undertow:undertow-core | >= 2.3.0.Alpha1, < 2.3.14.Final | 2.3.14.Final, 2.2.33.Final | osv |
| undertow | < 2.2.33.Final; >= 2.3.0.Alpha1, < 2.3.14 | — | cvelist |
| Red Hat EAP 8.0.1 | — | — | cvelist |
| Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2 | — | — | cvelist |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | cvelist |
| Red Hat build of Apache Camel for Spring Boot 3 | all versions | — | cvelist |
| Red Hat build of Apache Camel - HawtIO 4 | — | — | cvelist |
| Red Hat Build of Keycloak | — | — | cvelist |
| Red Hat Data Grid 8 | — | — | cvelist |
| Red Hat Fuse 7 | all versions | — | cvelist |
| Red Hat Integration Camel K 1 | all versions | — | cvelist |
| Red Hat JBoss Data Grid 7 | all versions | — | cvelist |
| Red Hat JBoss Enterprise Application Platform 7 | — | — | cvelist |
| Red Hat JBoss Enterprise Application Platform 8 | — | — | cvelist |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | all versions | — | cvelist |
| Red Hat Process Automation 7 | all versions | — | cvelist |
| Red Hat Single Sign-On 7 | all versions | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-6162. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-6162.md Affected: io.undertow:undertow-core >= 2.3.0.Alpha1, < 2.3.14.Final Fixed in: 2.3.14.Final, 2.2.33.Final Steps: 1. Search this machine and project for io.undertow:undertow-core (Maven), undertow, Red Hat EAP 8.0.1, Red Hat build of Apache Camel 4.4.1 for Spring Boot 3.2, Red Hat JBoss Enterprise Application Platform Expansion Pack, Red Hat build of Apache Camel for Spring Boot 3: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://access.redhat.com/security/cve/CVE-2024-6162
- https://bugzilla.redhat.com/show_bug.cgi?id=2293069
- https://issues.redhat.com/browse/JBEAP-26268
- https://security.netapp.com/advisory/ntap-20241129-0009/
- https://github.com/undertow-io/undertow
- https://github.com/undertow-io/undertow/releases/tag/2.2.33.Final
- https://github.com/undertow-io/undertow/releases/tag/2.3.14.Final
- https://issues.redhat.com/browse/UNDERTOW-2334
- https://security.netapp.com/advisory/ntap-20241129-0009
FAQ
Is CVE-2024-6162 being exploited?
There is no confirmed exploitation: CVE-2024-6162 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.15% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-6162?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2024-6162?
io.undertow:undertow-core >= 2.3.0.Alpha1, < 2.3.14.Final.
Is there a fix for CVE-2024-6162?
Yes. Fixed in 2.3.14.Final, 2.2.33.Final. Upgrade io.undertow:undertow-core to one of 2.3.14.Final, 2.2.33.Final (or later in the same release line). Vendor workaround: To mitigate this issue, you can either switch to a different listener like the http-listener, or adjust the AJP listener configuration. By setting decode-url="false" on the AJP listener and configuring a separate URL decoding filter, you can prevent the path decoding errors. This adjustment ensures that each request is processed correctly without interference from concurrent requests.
How do I check if I'm affected by CVE-2024-6162?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.