HIGH 7.5

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)

ArtifactAffected versionsFixed 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

1affected artifacts
426affected versions
5,580dependent artifacts (est.)
187,723dependent versions

70% of the dependent artifacts (3,952) still pull an affected version in their latest release.

DepthDependent 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

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.