{"answers":{"affected":"4 open source packages ship an affected version, including io.undertow:undertow-core. It affects 10 products.","exploited":"There is no known exploitation of CVE-2022-4492 in the wild and no public exploit code.","fix":"Upgrade io.undertow:undertow-core to a fixed version for your release line: 2.2.24.Final or 2.3.5.Final.","what":"CVE-2022-4492 is a high-severity server-side request forgery vulnerability in Redhat Jboss Enterprise Application Platform, published on 23 Feb 2023. 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-4492 and fix it if it is affected.\n\nWhat it is: CVE-2022-4492 is a high-severity server-side request forgery vulnerability in Redhat Jboss Enterprise Application Platform, published on 23 Feb 2023. 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-4492 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.24.Final\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.2.24.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0; fixed in 2.3.5.Final\n- io.undertow:undertow-core (Maven): affected from 2.3.0; fixed in 2.3.5.Final\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-4492/ (Markdown: https://insights.sbomify.com/CVE-2022-4492/index.md)","id":"CVE-2022-4492","markdown":"https://insights.sbomify.com/CVE-2022-4492/index.md","name":"CVE-2022-4492","record":{"aliases":["DEBIAN-CVE-2022-4492","GHSA-pfcc-3g6r-8rg8","UBUNTU-CVE-2022-4492"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Undertow client library","requires_auth":"none","summary":"The Undertow client fails to verify server identity in HTTPS connections, allowing potential man-in-the-middle attacks or SSRF-like behaviors.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"build_of_quarkus","vendor":"redhat"},{"product":"integration_camel_for_spring_boot","vendor":"redhat"},{"product":"integration_camel_k","vendor":"redhat"},{"product":"integration_service_registry","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"migration_toolkit_for_applications","vendor":"redhat"},{"product":"migration_toolkit_for_runtimes","vendor":"redhat"},{"product":"single_sign-on","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:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"The undertow client is not checking the server identity presented by the server certificate in https connections. This is a compulsory step (at least it should be performed by default) in https and in http/2. I would add it to any TLS client protocol.","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 client not checking server identity presented by server certificate in https connections","id":"CVE-2022-4492","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform","redhat:single_sign-on"],"type":"ssrf","year":"2022"},"n_packages":4,"n_references":3,"next":{"headline":"scifio ZIP File DefaultSampleFilesService.java downloadAndUnpackResource path traversal","id":"CVE-2022-4493"},"packages":[{"ecosystem":"Maven","fixed":["2.2.24.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-pfcc-3g6r-8rg8"},{"ecosystem":"Maven","fixed":["2.2.24.Final"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-pfcc-3g6r-8rg8"},{"ecosystem":"Maven","fixed":["2.3.5.Final"],"introduced":["2.3.0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-pfcc-3g6r-8rg8"},{"ecosystem":"Maven","fixed":["2.3.5.Final"],"introduced":["2.3.0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-pfcc-3g6r-8rg8"}],"prev":{"headline":"WP Table Reloaded \u003c= 1.9.4 - Contributor+ Stored XSS","id":"CVE-2022-4491"},"products":["undertow"],"published":"2023-02-23","related":[{"cvss_score":6.5,"headline":"quarkus-core vulnerable to client driven TLS cipher downgrading","id":"CVE-2023-2974","kev_date_added":null,"published":"2023-07-04"},{"cvss_score":6.5,"headline":"Keycloak Untrusted Certificate Validation vulnerability","id":"CVE-2023-1664","kev_date_added":null,"published":"2023-05-26"},{"cvss_score":6.1,"headline":"SmallRye Health UI Cross-site Scripting vulnerability","id":"CVE-2021-3914","kev_date_added":null,"published":"2022-08-25"},{"cvss_score":5.3,"headline":"Quarkus: potential invalid reuse of context when @cacheresult on a uni is used","id":"CVE-2023-6393","kev_date_added":null,"published":"2023-12-06"},{"cvss_score":4.8,"headline":"Cross-site Scripting in Wildfly","id":"CVE-2021-3536","kev_date_added":null,"published":"2021-05-20"}],"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-12","vendors":["n/a"]},"summary":"The Undertow client fails to verify server identity in HTTPS connections, allowing potential man-in-the-middle attacks or SSRF-like behaviors.","url":"https://insights.sbomify.com/CVE-2022-4492/"}