{"answers":{"affected":"4 open source packages ship an affected version, including io.undertow:undertow-core. It affects 3 products.","exploited":"There is no known exploitation of CVE-2022-2053 in the wild and no public exploit code.","fix":"Upgrade io.undertow:undertow-core to a fixed version for your release line: 2.2.19.Final or 2.3.0.Alpha2.","what":"CVE-2022-2053 is a high-severity denial of service vulnerability in Undertow, published on 5 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2053 and fix it if it is affected.\n\nWhat it is: CVE-2022-2053 is a high-severity denial of service vulnerability in Undertow, published on 5 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-2053 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.19.Final\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.19.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.0.Alpha2\n- io.undertow:undertow-core (Maven): affected from 2.3.0.Alpha1; fixed in 2.3.0.Alpha2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-2053/ (Markdown: https://insights.sbomify.com/CVE-2022-2053/index.md)","id":"CVE-2022-2053","markdown":"https://insights.sbomify.com/CVE-2022-2053/index.md","name":"CVE-2022-2053","record":{"aliases":["DEBIAN-CVE-2022-2053","GHSA-95rf-557x-44g5","UBUNTU-CVE-2022-2053"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Undertow web server","requires_auth":"none","summary":"An attacker can cause a denial of service by sending oversized POST requests via AJP, triggering connection closures that mark backend workers as errors.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"integration_camel_k","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"undertow","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Undertow vulnerable to Dos via Large AJP request","id":"CVE-2022-2053","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":4,"n_references":2,"next":{"headline":"Code Injection in nuitka/nuitka","id":"CVE-2022-2054"},"packages":[{"ecosystem":"Maven","fixed":["2.2.19.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-95rf-557x-44g5"},{"ecosystem":"Maven","fixed":["2.2.19.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-95rf-557x-44g5"},{"ecosystem":"Maven","fixed":["2.3.0.Alpha2"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-95rf-557x-44g5"},{"ecosystem":"Maven","fixed":["2.3.0.Alpha2"],"introduced":["2.3.0.Alpha1"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-95rf-557x-44g5"}],"prev":{"headline":"TRUMPF TruTops default user accounts vulnerability","id":"CVE-2022-2052"},"products":["Undertow"],"published":"2022-08-05","related":[{"cvss_score":7.5,"headline":"XNIO `notifyReadClosed` method logging message to unexpected end","id":"CVE-2022-0084","kev_date_added":null,"published":"2022-08-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An attacker can cause a denial of service by sending oversized POST requests via AJP, triggering connection closures that mark backend workers as errors.","url":"https://insights.sbomify.com/CVE-2022-2053/"}