# CVE-2022-2053: Undertow vulnerable to Dos via Large AJP request

> 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, NVD) `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:** 1.03% (percentile 63, 2026-11-26)
- **CWE:** CWE-400
- **Aliases:** GHSA-95rf-557x-44g5
- **Published:** 2022-08-05T15:24:27.000Z
- **Modified:** 2026-06-17T04:41:11.913Z

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

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

- Maven `io.undertow:undertow-core`: affected \< 2.2.19.Final; fixed 2.2.19.Final, 2.3.0.Alpha2 (osv)
- Undertow: Fixed in Undertow 2.2.19.Final,  Undertow 2.3.0.Alpha2 (cvelist)

## Mitigation

- Upgrade io.undertow:undertow-core to one of 2.2.19.Final, 2.3.0.Alpha2 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

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

## References

- vendor: <https://bugzilla.redhat.com/show_bug.cgi?id=2095862&comment#0>
- vendor: <https://issues.redhat.com/browse/UNDERTOW-2133>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2022-2053>
- patch: <https://github.com/undertow-io/undertow/pull/1350>
- other: <https://github.com/undertow-io/undertow>

## 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-2022-2053>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-95rf-557x-44g5> (license: <https://creativecommons.org/licenses/by/4.0/>)

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