CVE-2024-4027
Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
Description
A flaw was found in Undertow. Servlets using a method that calls HttpServletRequestImpl.getParameterNames() can cause an OutOfMemoryError when the client sends a request with large parameter names. This issue can be exploited by an unauthorized user to cause a remote denial-of-service (DoS) attack.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| io.undertow » undertow-core | < 2.2.39.Final>= 2.3.0.Alpha1, < 2.3.21.Final>= 2.4.0.Alpha1, < 2.4.0.Beta1 | 2.2.39.Final, 2.3.21.Final, 2.4.0.Beta1 |
Blast radius
70% of the dependent artifacts (3,952) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 35,769 |
| 2 hops | 61,538 |
| 3 hops | 51,099 |
| 4 hops | 25,659 |
| 5 hops | 9,180 |
| 6 hops | 4,478 |
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-4027 | nvd.nist.gov |
| Package | undertow-io/undertow | github.com |
| Web | undertow-io/undertow pull request #1860 | github.com |
| Web | undertow-io/undertow pull request #1882 | github.com |
| Web | undertow-io/undertow pull request #1894 | github.com |
| Web | undertow-io/undertow commit 6b7c184 | github.com |
| Web | undertow-io/undertow commit 8318dd3 | github.com |
| Web | undertow-io/undertow commit cb854c7 | github.com |
| Web | undertow-io/undertow commit fb14baa | github.com |
| Web | security/cve/CVE-2024-4027 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | undertow-io/undertow release 2.2.39.Final | github.com |
| Web | undertow-io/undertow release 2.3.21.Final | github.com |
| Web | undertow-io/undertow release 2.4.0.Beta1 | github.com |
| Web | browse/UNDERTOW-2377 | issues.redhat.com |
