{"answers":{"affected":"10 open source packages ship an affected version, including org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9 and org.apache.cxf.fediz:fediz-spring. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-8038 in the wild and no public exploit code.","fix":"Upgrade org.apache.cxf.fediz:fediz-jetty8 to 1.4.4 or later.","what":"CVE-2018-8038 is a high-severity vulnerability in Apache CXF Fediz, published on 5 Jul 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-8038 and fix it if it is affected.\n\nWhat it is: CVE-2018-8038 is a high-severity vulnerability in Apache CXF Fediz, published on 5 Jul 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-8038 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.cxf.fediz:fediz-jetty8 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-jetty8 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-jetty9 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-jetty9 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring2 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected all versions; fixed in 1.4.4\n- org.apache.cxf.fediz:fediz-spring3 (Maven): affected all versions; fixed in 1.4.4\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-8038/ (Markdown: https://insights.sbomify.com/CVE-2018-8038/index.md)","id":"CVE-2018-8038","markdown":"https://insights.sbomify.com/CVE-2018-8038/index.md","name":"CVE-2018-8038","record":{"aliases":["GHSA-w3gh-g32m-cvhr"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache CXF Fediz","requires_auth":"none","summary":"Attackers can exploit insufficient DTD disabling in Apache CXF Fediz to perform XML External Entity attacks, potentially reading sensitive data or causing denial of service.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"cxf_fediz","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Versions of Apache CXF Fediz prior to 1.4.4 do not fully disable Document Type Declarations (DTDs) when either parsing the Identity Provider response in the application plugins, or in the Identity Provider itself when parsing certain XML-based parameters.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2018-11-19","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-11-19T12:14:45Z","kind":"github_poc","ref":"https://github.com/tafamace/CVE-2018-8038","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"High severity vulnerability that affects org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9, org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2, and org.apache.cxf.fediz:fediz-spring3","id":"CVE-2018-8038","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2018"},"n_packages":10,"n_references":10,"next":{"headline":"Apache CXF TLS hostname verification does not work correctly with com.sun.net.ssl.*","id":"CVE-2018-8039"},"packages":[{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-jetty8","purl":null,"source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-jetty8","purl":"pkg:maven/org.apache.cxf.fediz/fediz-jetty8","source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-jetty9","purl":null,"source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-jetty9","purl":"pkg:maven/org.apache.cxf.fediz/fediz-jetty9","source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":null,"source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring","source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":null,"source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring2","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring2","source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":null,"source":"GHSA-w3gh-g32m-cvhr"},{"ecosystem":"Maven","fixed":["1.4.4"],"introduced":["0"],"last_affected":[],"package":"org.apache.cxf.fediz:fediz-spring3","purl":"pkg:maven/org.apache.cxf.fediz/fediz-spring3","source":"GHSA-w3gh-g32m-cvhr"}],"prev":{"headline":"Apache Tomcat Race Condition vulnerability","id":"CVE-2018-8037"},"products":["Apache CXF Fediz"],"published":"2018-07-05","related":[{"cvss_score":9.8,"headline":"High severity vulnerability that affects org.apache.cxf.fediz:fediz-spring and org.apache.cxf.fediz:fediz-spring2","id":"CVE-2016-4464","kev_date_added":null,"published":"2016-09-21"},{"cvss_score":8.8,"headline":"Moderate severity vulnerability that affects org.apache.cxf.fediz:fediz-spring, org.apache.cxf.fediz:fediz-spring2, and org.apache.cxf.fediz:fediz-spring3","id":"CVE-2017-12631","kev_date_added":null,"published":"2017-11-30"},{"cvss_score":8.8,"headline":"Moderate severity vulnerability that affects org.apache.cxf.fediz:fediz-jetty8, org.apache.cxf.fediz:fediz-jetty9, and org.apache.cxf.fediz:fediz-spring2","id":"CVE-2017-7661","kev_date_added":null,"published":"2017-05-16"},{"cvss_score":8.8,"headline":"Cross-Site Request Forgery in Apache CXF Fediz","id":"CVE-2017-7662","kev_date_added":null,"published":"2017-05-16"},{"cvss_score":7.5,"headline":"Apache CXF Fediz application plugins are vulnerable to Denial of Service (DoS) attacks","id":"CVE-2015-5175","kev_date_added":null,"published":"2017-06-07"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Apache Software Foundation"]},"summary":"Attackers can exploit insufficient DTD disabling in Apache CXF Fediz to perform XML External Entity attacks, potentially reading sensitive data or causing denial of service.","url":"https://insights.sbomify.com/CVE-2018-8038/"}