{"id":"CVE-2022-2053","published":"2022-08-05T15:24:27Z","modified":"2024-08-03T00:24:44Z","title":"When a POST request comes through AJP and the request exceeds the max-post-size limit (maxEntitySize), Undertow's…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01093,"percentile":0.66291,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2095862&comment#0","tags":["x_refsource_MISC"]},{"url":"https://issues.redhat.com/browse/UNDERTOW-2133","tags":["x_refsource_MISC"]}],"priority":{"score":13.3,"factors":[{"name":"EPSS percentile","points":13.26}]},"affectedVersions":[{"vendor":"n/a","product":"Undertow","versions":["Fixed in Undertow 2.2.19.Final,  Undertow 2.3.0.Alpha2"]}],"affected":[{"ecosystem":"Maven","package":"io.undertow:undertow-core","vulnerableRanges":["<2.2.19.Final",">=2.3.0.Alpha1, <2.3.0.Alpha2"],"patched":["2.2.19.Final","2.3.0.Alpha2"],"from":["GHSA-95rf-557x-44g5"],"provenance":"source"}],"summary":{"text":"Undertow's AJP server request handling (AjpServerRequestConduit) closes the connection without sending any response when a POST request exceeds the max-post-size (maxEntitySize) limit, causing front-end proxies such as mod_cluster and mod_proxy_balancer to mark the backend worker as being in an error state. An attacker able to send AJP requests to the backend can use this to send an oversized POST and cause repeated worker errors, leading to denial of service, with mod_cluster potentially returning 503 responses for up to about 10 seconds.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:55Z"},"euvd":{"id":"EUVD-2022-6522","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-3690","published":"2022-08-23","fixed":"2.2.10","kev":false},{"cve":"CVE-2021-3629","published":"2022-05-24","fixed":"2.2.11.Final","kev":false},{"cve":"CVE-2021-3859","published":"2022-08-26","fixed":"2.2.15","kev":false},{"cve":"CVE-2022-2053","published":"2022-08-05","fixed":"2.3.0.Alpha2","kev":false},{"cve":"CVE-2022-4492","published":"2023-02-23","fixed":"2.3.5.Final","kev":false,"link":{"from":"CVE-2022-2053","to":"CVE-2022-4492","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.undertow:undertow-core","fromFixed":"2.2.19.Final","toFixed":"2.2.24.Final","daysApart":202}]}},{"cve":"CVE-2023-1108","published":"2023-09-14","fixed":"2.3.5.Final","kev":false,"link":{"from":"CVE-2022-2053","to":"CVE-2023-1108","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:io.undertow:undertow-core","fromFixed":"2.2.19.Final","toFixed":"2.2.24.Final","daysApart":405}]}},{"cve":"CVE-2023-4639","published":"2024-11-17","fixed":"2.3.11.Final","kev":false}],"package":"Maven:io.undertow:undertow-core"}}