{"answers":{"affected":"2 open source packages ship an affected version, including org.jboss.eap:wildfly-undertow. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1048 in the wild and no public exploit code.","fix":"Upgrade org.jboss.eap:wildfly-undertow to 7.1.1.GA or later.","what":"CVE-2018-1048 is a high-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 24 Jan 2018. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2018-1048 and fix it if it is affected.\n\nWhat it is: CVE-2018-1048 is a high-severity path traversal vulnerability in Redhat Jboss Enterprise Application Platform, published on 24 Jan 2018. 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-2018-1048 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.eap:wildfly-undertow (Maven): affected from 7.1.0.GA; fixed in 7.1.1.GA\n- org.jboss.eap:wildfly-undertow (Maven): affected from 7.1.0.GA; fixed in 7.1.1.GA\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-2018-1048/ (Markdown: https://insights.sbomify.com/CVE-2018-1048/index.md)","id":"CVE-2018-1048","markdown":"https://insights.sbomify.com/CVE-2018-1048/index.md","name":"CVE-2018-1048","record":{"aliases":["DEBIAN-CVE-2018-1048","GHSA-prfw-3qx6-g9xr","UBUNTU-CVE-2018-1048"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JBoss EAP Undertow","requires_auth":"none","summary":"Attackers can exploit the AJP connector to perform path traversal and read arbitrary local files on JBoss EAP servers.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_enterprise_application_platform","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:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"It was found that the AJP connector in undertow, as shipped in Jboss EAP 7.1.0.GA, does not use the ALLOW_ENCODED_SLASH option and thus allow the the slash / anti-slash characters encoded in the url which may lead to path traversal and result in the information disclosure of arbitrary local files.","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":"Improper Limitation of a Pathname to a Restricted Directory in Jboss EAP Undertow","id":"CVE-2018-1048","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"path_traversal","year":"2018"},"n_packages":2,"n_references":5,"next":{"headline":"Race condition in systemd","id":"CVE-2018-1049"},"packages":[{"ecosystem":"Maven","fixed":["7.1.1.GA"],"introduced":["7.1.0.GA"],"last_affected":[],"package":"org.jboss.eap:wildfly-undertow","purl":null,"source":"GHSA-prfw-3qx6-g9xr"},{"ecosystem":"Maven","fixed":["7.1.1.GA"],"introduced":["7.1.0.GA"],"last_affected":[],"package":"org.jboss.eap:wildfly-undertow","purl":"pkg:maven/org.jboss.eap/wildfly-undertow","source":"GHSA-prfw-3qx6-g9xr"}],"prev":{"headline":"Improper Input Validation in org.wildfly:wildfly-undertow","id":"CVE-2018-1047"},"products":["undertow as shipped in Jboss EAP 7.1.0.GA"],"published":"2018-01-24","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss Application Server Remote Code Execution","id":"CVE-2017-12149","kev_date_added":"2021-12-10","published":"2017-10-04"},{"cvss_score":5.9,"headline":"Red Hat JBoss Information Disclosure","id":"CVE-2010-1428","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":3.7,"headline":"Red Hat JBoss Authentication Bypass","id":"CVE-2010-0738","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-3690","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in JBoss","id":"CVE-2017-7504","kev_date_added":null,"published":"2017-05-19"},{"cvss_score":9.8,"headline":"XML external entity in JBoss Enterprise Application Platform","id":"CVE-2017-7503","kev_date_added":null,"published":"2017-05-18"},{"cvss_score":9.8,"headline":"Improper Input Validation in JGroups","id":"CVE-2016-2141","kev_date_added":null,"published":"2016-06-30"}],"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-05","vendors":["Red Hat, Inc."]},"summary":"Attackers can exploit the AJP connector to perform path traversal and read arbitrary local files on JBoss EAP servers.","url":"https://insights.sbomify.com/CVE-2018-1048/"}