CVE-2024-3884: Undertow: outofmemory when parsing form data encoding with application/x-www-form-urlencoded
A flaw was found in Undertow that can cause remote denial of service attacks. When the server uses the FormEncodedDataDefinition.doParse(StreamSourceChannel) method to parse large form data encoding with application/x-www-form-urlencoded, the method will cause an OutOfMemory issue. This flaw allows unauthorized users to cause a remote denial of service (DoS) attack.
Security readout for executives and security teams
Plain-English summary
CVE-2024-3884 is a remote denial-of-service flaw in Undertow. An unauthenticated attacker can send large URL-encoded form data that may exhaust server memory, making affected JBoss EAP applications unavailable. The supplied sources do not show data theft or code execution.
Executive priority
Treat as high priority for externally reachable Java application platforms. The main business risk is service outage, not compromise, but unauthenticated network reach and low complexity make patching important where affected EAP systems process public form traffic.
Technical view
Undertow's FormEncodedDataDefinition.doParse(StreamSourceChannel) can trigger an OutOfMemory condition while parsing large application/x-www-form-urlencoded request bodies. The CVSS 3.1 score is 7.5 with network access, low complexity, no privileges, no user interaction, and high availability impact only.
Likely exposure
Exposure is most likely for internet-facing or partner-facing Red Hat JBoss EAP services using affected Undertow packages and accepting URL-encoded form submissions. The bundle lists affected EAP 7.1 EUS, 7.3 EUS, 7.4 ELS, and eap8-undertow package streams; verify exact package state against Red Hat advisories.
Exploitation context
The source bundle marks KEV as false and provides no cited evidence of active exploitation. Exploitation would be availability-focused: remote, unauthenticated requests can pressure memory during form parsing. Evidence is incomplete on practical exploit prevalence and any environment-specific request limits.
Researcher notes
Focus validation on version/package matching and reachable form parsing paths. The affected matrix includes a nuanced EAP 8 entry showing undertow as unaffected in one product row while eap8-undertow packages are affected, so rely on Red Hat errata for final applicability.
Mitigation direction
Apply the applicable Red Hat security errata for your EAP and RHEL stream.
Update affected Undertow, WildFly, or EAP packages through supported Red Hat channels.
If patch timing is constrained, check Red Hat guidance for supported temporary mitigations.
Review existing request body size limits for URL-encoded form endpoints.
Prioritize exposed login, upload, search, and public form handlers.
Validation and detection
Inventory JBoss EAP deployments and installed Undertow-related package versions.
Map each system to the affected package list in the CVE bundle.
Confirm whether the relevant RHSA update is installed for that stream.
Identify routes accepting application/x-www-form-urlencoded from untrusted clients.
Monitor JVM OutOfMemoryError, process restarts, and availability alerts around form endpoints.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-20: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-20 · source CWE mapping
Improper Input Validation
Improper Input Validation represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.