HIGH7.5
GHSA-33hj-rcmx-86mv
Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
Quick fix
GHSA-33hj-rcmx-86mv — io.undertow:undertow-core: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.2.39.Final</version> for io.undertow:undertow-coreDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Maven/io.undertow:undertow-core
Introduced in:
0Fixed in: 2.2.39.FinalFix
# pom.xml: bump <version>2.2.39.Final</version> for io.undertow:undertow-coreMaven/io.undertow:undertow-core
Introduced in:
2.4.0.Alpha1Fixed in: 2.4.0.Beta1Fix
# pom.xml: bump <version>2.4.0.Beta1</version> for io.undertow:undertow-coreMaven/io.undertow:undertow-core
Introduced in:
2.3.0.Alpha1Fixed in: 2.3.21.FinalFix
# pom.xml: bump <version>2.3.21.Final</version> for io.undertow:undertow-coreReferences
- https://nvd.nist.gov/vuln/detail/CVE-2024-4027[ADVISORY]
- https://github.com/undertow-io/undertow/pull/1860[WEB]
- https://github.com/undertow-io/undertow/pull/1882[WEB]
- https://github.com/undertow-io/undertow/pull/1894[WEB]
- https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b[WEB]
- https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7[WEB]
- https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be[WEB]
- https://github.com/undertow-io/undertow/commit/fb14baa51b611a4a9f755f1d8b07d6e12eac68e3[WEB]
- https://access.redhat.com/security/cve/CVE-2024-4027[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2276410[WEB]
- https://github.com/undertow-io/undertow[PACKAGE]
- https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final[WEB]
- https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final[WEB]
- https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1[WEB]
- https://issues.redhat.com/browse/UNDERTOW-2377[WEB]