CVE-2024-3884
Undertow OutOfMemory when parsing form data encoding with application/x-www-form-urlencoded
Description
A flaw was found in Undertow that can cause remote denial of service attacks. When the server uses the FormEncodedDataDefinition.doParse(StreamSourceChannel) method to parse large form data encoding with application/x-www-form-urlencoded, the method will cause an OutOfMemory issue. This flaw allows unauthorized users 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.
