CVE-2022-2053
Undertow vulnerable to Dos via Large AJP request
Also known as GHSA-95rf-557x-44g5
Mitigation
- Upgrade io.undertow:undertow-core to one of 2.2.19.Final, 2.3.0.Alpha2 (or later in the same release line).
Who should check
- Projects that depend on Maven package io.undertow:undertow-core (< 2.2.19.Final)
- Anyone running Undertow Fixed in Undertow 2.2.19.Final, Undertow 2.3.0.Alpha2
Vulnerability facts
- Affected
- io.undertow:undertow-core < 2.2.19.Final
- Fixed in
- 2.2.19.Final, 2.3.0.Alpha2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)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
- 1.03% chance of exploitation in 30 days (percentile 63, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
When a POST request comes through AJP and the request exceeds the max-post-size limit (maxEntitySize), Undertow's AjpServerRequestConduit implementation closes a connection without sending any response to the client/proxy. This behavior results in that a front-end proxy marking the backend worker (application server) as an error state and not forward requests to the worker for a while. In mod_cluster, this continues until the next STATUS request (10 seconds intervals) from the application server updates the server state. So, in the worst case, it can result in "All workers are in error state" and mod_cluster responds "503 Service Unavailable" for a while (up to 10 seconds). In mod_proxy_balancer, it does not forward requests to the worker until the "retry" timeout passes. However, luckily, mod_proxy_balancer has "forcerecovery" setting (On by default; this parameter can force the immediate recovery of all workers without considering the retry parameter of the workers if all workers of a balancer are in error state.). So, unlike mod_cluster, mod_proxy_balancer does not result in responding "503 Service Unavailable". An attacker could use this behavior to send a malicious request and trigger server errors, resulting in DoS (denial of service). This flaw was fixed in Undertow 2.2.19.Final, Undertow 2.3.0.Alpha2.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven io.undertow:undertow-core | < 2.2.19.Final | 2.2.19.Final, 2.3.0.Alpha2 | osv |
| Undertow | Fixed in Undertow 2.2.19.Final, Undertow 2.3.0.Alpha2 | — | 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-2022-2053. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-2053.md Affected: io.undertow:undertow-core < 2.2.19.Final Fixed in: 2.2.19.Final, 2.3.0.Alpha2 Steps: 1. Search this machine and project for io.undertow:undertow-core (Maven), Undertow: 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
FAQ
Is CVE-2022-2053 being exploited?
There is no confirmed exploitation: CVE-2022-2053 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.03% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-2053?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2022-2053?
io.undertow:undertow-core < 2.2.19.Final.
Is there a fix for CVE-2022-2053?
Yes. Fixed in 2.2.19.Final, 2.3.0.Alpha2. Upgrade io.undertow:undertow-core to one of 2.2.19.Final, 2.3.0.Alpha2 (or later in the same release line).
How do I check if I'm affected by CVE-2022-2053?
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.