CVE-2024-4027
Undertow: outofmemoryerror in httpservletrequestimpl.getparameternames() can cause remote dos attacks
Also known as GHSA-33hj-rcmx-86mv
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.
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)
Vulnerability facts
- Affected
- io.undertow:undertow-core < 2.2.39.Final
- Fixed in
- 2.2.39.Final, 2.4.0.Beta1, 2.3.21.Final
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.75% chance of exploitation in 30 days (percentile 51, 2026-11-26)
- CWE
- CWE-20
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.undertow:undertow-core | < 2.2.39.Final | 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 | — | — | cvelist |
| Red Hat build of Quarkus | — | — | cvelist |
| Red Hat Data Grid 8 | — | — | cvelist |
| Red Hat Fuse 7 | all versions | — | cvelist |
| Red Hat Integration Camel K 1 | all versions | — | cvelist |
| Red Hat JBoss Enterprise Application Platform 7 | — | — | cvelist |
| Red Hat JBoss Enterprise Application Platform 8 | — | — | cvelist |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | — | — | cvelist |
| Red Hat Process Automation 7 | all versions | — | cvelist |
| Red Hat Single Sign-On 7 | — | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
- https://github.com/undertow-io/undertow/pull/1860
- https://github.com/undertow-io/undertow/pull/1882
- https://github.com/undertow-io/undertow/pull/1894
- https://github.com/undertow-io/undertow/commit/6b7c18481ce65ae4012d92fe2b7f17a21ef4d70b
- https://github.com/undertow-io/undertow/commit/8318dd36fdc2c9842baf10c5f1bfbb3bc23f75e7
- https://github.com/undertow-io/undertow/commit/cb854c779b9e2368c3c274ebd7217c8e75d505be
- https://github.com/undertow-io/undertow/commit/fb14baa51b611a4a9f755f1d8b07d6e12eac68e3
Other
- https://access.redhat.com/security/cve/CVE-2024-4027
- https://bugzilla.redhat.com/show_bug.cgi?id=2276410
- https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-4027.json
- https://github.com/undertow-io/undertow
- https://github.com/undertow-io/undertow/releases/tag/2.2.39.Final
- https://github.com/undertow-io/undertow/releases/tag/2.3.21.Final
- https://github.com/undertow-io/undertow/releases/tag/2.4.0.Beta1
- https://issues.redhat.com/browse/UNDERTOW-2377
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.