CVE-2024-6162
Undertow's url-encoded request path information can be broken on ajp-listener
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.undertow » undertow-core | < 2.2.33.Final>= 2.3.0.Alpha1, < 2.3.14.Final | 2.2.33.Final, 2.3.14.Final |
Blast radius
67% of the dependent artifacts (3,469) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 31,945 |
| 2 hops | 54,071 |
| 3 hops | 46,038 |
| 4 hops | 23,442 |
| 5 hops | 8,120 |
| 6 hops | 4,204 |
Most used dependents
- io.quarkus » quarkus-maven-plugin1,484 usages
- io.quarkus » quarkus-resteasy1,251 usages
- com.networknt » json-schema-validator837 usages
- org.springframework.boot » spring-boot-starter-undertow804 usages
- org.infinispan » infinispan-core644 usages
- org.apache.camel.springboot » camel-core-starter558 usages
- io.quarkus » quarkus-resteasy-jackson543 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.wildfly.core » wildfly-server477 usages
- io.quarkus » quarkus-smallrye-health469 usages
- io.undertow » undertow-servlet443 usages
- org.wildfly.plugins » wildfly-maven-plugin430 usages
- io.quarkus » quarkus-smallrye-openapi419 usages
- org.wildfly » wildfly-feature-pack372 usages
- com.alibaba » dubbo337 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-6162 | nvd.nist.gov |
| Package | undertow-io/undertow | github.com |
| Web | undertow-io/undertow pull request #1612 | github.com |
| Web | undertow-io/undertow commit 90f202a | github.com |
| Web | undertow-io/undertow commit a28ac53 | github.com |
| Web | errata/RHSA-2024:1194 | access.redhat.com |
| Web | errata/RHSA-2024:4386 | access.redhat.com |
| Web | errata/RHSA-2024:4884 | access.redhat.com |
| Web | security/cve/CVE-2024-6162 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | undertow-io/undertow release 2.2.33.Final | github.com |
| Web | undertow-io/undertow release 2.3.14.Final | github.com |
| Web | browse/JBEAP-26268 | issues.redhat.com |
| Web | browse/UNDERTOW-2334 | issues.redhat.com |
| Web | advisory/ntap-20241129-0009 | security.netapp.com |
