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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.75% (percentile 51, 2026-11-26)
- **CWE:** CWE-20
- **Aliases:** GHSA-33hj-rcmx-86mv
- **Published:** 2026-01-30T14:25:54.405Z
- **Modified:** 2026-11-04T22:17:22.077Z

## Who should check

- Projects that depend on Maven package io.undertow:undertow-core (\< 2.2.39.Final)
- Anyone running Red Hat build of Apicurio Registry 2 all versions
- Anyone running Red Hat build of Quarkus (versions: see the vendor advisory)
- Anyone running Red Hat Data Grid 8 (versions: see the vendor advisory)
- Anyone running Red Hat Fuse 7 all versions
- Anyone running Red Hat Integration Camel K 1 all versions
- Anyone running Red Hat JBoss Enterprise Application Platform 7 (versions: see the vendor advisory)
- Anyone running Red Hat JBoss Enterprise Application Platform 8 (versions: see the vendor advisory)

## 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 and fixed versions

- Maven `io.undertow:undertow-core`: affected \< 2.2.39.Final; fixed 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (osv)
- Red Hat build of Apicurio Registry 2: all versions (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat build of Quarkus: see vendor advisory (cvelist)
- Red Hat Data Grid 8: see vendor advisory (cvelist)
- Red Hat Fuse 7: all versions (cvelist)
- Red Hat Integration Camel K 1: all versions (cvelist)
- Red Hat JBoss Enterprise Application Platform 7: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform 8: see vendor advisory (cvelist)
- Red Hat JBoss Enterprise Application Platform Expansion Pack: see vendor advisory (cvelist)
- Red Hat Process Automation 7: all versions (cvelist)
- Red Hat Single Sign-On 7: see vendor advisory (cvelist)

## Mitigation

- Upgrade io.undertow:undertow-core to one of 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (or later in the same release line).
- Vendor workaround: Currently no mitigation is available for this vulnerability. Please make sure to perform the update as they become available.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-4027. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-4027.md
Affected: io.undertow:undertow-core < 2.2.39.Final
Fixed in: 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final

Steps:
1. Search this machine and project for io.undertow:undertow-core (Maven), Red Hat build of Apicurio Registry 2, Red Hat build of Quarkus, Red Hat Data Grid 8, Red Hat Fuse 7, Red Hat Integration Camel K 1: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-4027 being exploited?

There is no confirmed exploitation: CVE-2024-4027 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.75% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-4027?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-4027?

io.undertow:undertow-core \< 2.2.39.Final.

### Is there a fix for CVE-2024-4027?

Yes. Fixed in 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final. Upgrade io.undertow:undertow-core to one of 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final (or later in the same release line). Vendor workaround: Currently no mitigation is available for this vulnerability. Please make sure to perform the update as they become available.

### How do I check if I'm affected by CVE-2024-4027?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-4027>
- patch: <https://github.com/undertow-io/undertow/pull/1860>
- patch: <https://github.com/undertow-io/undertow/pull/1882>
- patch: <https://github.com/undertow-io/undertow/pull/1894>
- patch: <https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b>
- patch: <https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7>
- patch: <https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be>
- patch: <https://github.com/undertow-io/undertow/commit/fb14baa51b611a4a9f755f1d8b07d6e12eac68e3>
- other: <https://access.redhat.com/security/cve/CVE-2024-4027>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2276410>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4027.json>
- other: <https://github.com/undertow-io/undertow>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final>
- other: <https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1>
- other: <https://issues.redhat.com/browse/UNDERTOW-2377>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-4027>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-33hj-rcmx-86mv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-4027> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-4027>
