CVE-2024-4027: Undertow Servlets Vulnerable to Remote DoS via OutOfMemoryError when Passed Large Parameter Names
(updated )
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.
References
- access.redhat.com/security/cve/CVE-2024-4027
- bugzilla.redhat.com/show_bug.cgi?id=2276410
- github.com/advisories/GHSA-33hj-rcmx-86mv
- github.com/undertow-io/undertow
- github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b
- github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7
- github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be
- github.com/undertow-io/undertow/commit/fb14baa51b611a4a9f755f1d8b07d6e12eac68e3
- github.com/undertow-io/undertow/pull/1860
- github.com/undertow-io/undertow/pull/1882
- github.com/undertow-io/undertow/pull/1894
- github.com/undertow-io/undertow/releases/tag/2.2.39.Final
- github.com/undertow-io/undertow/releases/tag/2.3.21.Final
- github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1
- issues.redhat.com/browse/UNDERTOW-2377
- nvd.nist.gov/vuln/detail/CVE-2024-4027
Code Behaviors & Features
Detect and mitigate CVE-2024-4027 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →