{"answers":{"affected":"2 open source packages ship an affected version, including io.undertow:undertow-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-1745 in the wild and no public exploit code.","fix":"Upgrade io.undertow:undertow-core to 2.0.30 or later.","what":"CVE-2020-1745 is a high-severity path traversal vulnerability in undertow-io undertow, published on 28 Apr 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-1745 and fix it if it is affected.\n\nWhat it is: CVE-2020-1745 is a high-severity path traversal vulnerability in undertow-io undertow, published on 28 Apr 2020. 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-2020-1745 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.0.30\n- io.undertow:undertow-core (Maven): affected all versions; fixed in 2.0.30\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-2020-1745/ (Markdown: https://insights.sbomify.com/CVE-2020-1745/index.md)","id":"CVE-2020-1745","markdown":"https://insights.sbomify.com/CVE-2020-1745/index.md","name":"CVE-2020-1745","record":{"aliases":["DEBIAN-CVE-2020-1745","GHSA-gv2w-88hx-8m9r","RHSA-2020:0813","UBUNTU-CVE-2020-1745"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Undertow web server","requires_auth":"none","summary":"Remote attackers can read web application files or execute code via file upload and inclusion in the Undertow AJP connector.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"undertow","vendor":"redhat"}],"cvss":{"score":8.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"}],"description":"A file inclusion vulnerability was found in the AJP connector enabled with a default AJP configuration port of 8009 in Undertow version 2.0.29.Final and before and was fixed in 2.0.30.Final. A remote, unauthenticated attacker could exploit this vulnerability to read web application files from a vulnerable server. In instances where the vulnerable server allows file uploads, an attacker could upload malicious JavaServer Pages (JSP) code within a variety of file types and trigger this vulnerability to gain remote code execution.","ecosystems":["Maven","Red Hat:jboss_enterprise_application_platform:7.2::el6","Red Hat:jboss_enterprise_application_platform:7.2::el7","Red Hat:jboss_enterprise_application_platform:7.2::el8"],"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":"Improper Authorization in Undertoe","id":"CVE-2020-1745","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2020"},"n_packages":5,"n_references":5,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in ansible","id":"CVE-2020-1746"},"packages":[{"ecosystem":"Maven","fixed":["2.0.30"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":null,"source":"GHSA-gv2w-88hx-8m9r"},{"ecosystem":"Maven","fixed":["2.0.30"],"introduced":["0"],"last_affected":[],"package":"io.undertow:undertow-core","purl":"pkg:maven/io.undertow/undertow-core","source":"GHSA-gv2w-88hx-8m9r"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.2::el6","fixed":["0:2.0.28-4.SP1_redhat_00002.1.el6eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2020:0813"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.2::el7","fixed":["0:2.0.28-4.SP1_redhat_00002.1.el7eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2020:0813"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:7.2::el8","fixed":["0:2.0.28-4.SP1_redhat_00002.1.el8eap"],"introduced":["0"],"last_affected":[],"package":"eap7-undertow","purl":"pkg:rpm/redhat/eap7-undertow","source":"RHSA-2020:0813"}],"prev":{"headline":"Exposure of Sensitive Information in keycloak","id":"CVE-2020-1744"},"products":["undertow"],"published":"2020-04-28","related":[{"cvss_score":6.5,"headline":"Uncontrolled Resource Consumption in Undertow","id":"CVE-2018-1114","kev_date_added":null,"published":"2018-09-11"},{"cvss_score":6.1,"headline":"Undertow vulnerable to Request Smuggling","id":"CVE-2017-7559","kev_date_added":null,"published":"2018-01-10"},{"cvss_score":5.3,"headline":"Undertow: directory traversal vulnerability","id":"CVE-2024-1459","kev_date_added":null,"published":"2024-02-12"},{"cvss_score":5,"headline":"Improper Limitation of a Pathname to a Restricted Directory in JBoss Undertow","id":"CVE-2014-7816","kev_date_added":null,"published":"2014-12-01"}],"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":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-04","vendors":["undertow-io"]},"summary":"Remote attackers can read web application files or execute code via file upload and inclusion in the Undertow AJP connector.","url":"https://insights.sbomify.com/CVE-2020-1745/"}