{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.ivy:ivy. It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-46751 in the wild and no public exploit code.","fix":"Upgrade org.apache.ivy:ivy to 2.5.2 or later.","what":"CVE-2022-46751 is a high-severity vulnerability in Apache Ivy, published on 21 Aug 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-46751 and fix it if it is affected.\n\nWhat it is: CVE-2022-46751 is a high-severity vulnerability in Apache Ivy, published on 21 Aug 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-46751 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.ivy:ivy (Maven): affected all versions; fixed in 2.5.2\n- org.apache.ivy:ivy (Maven): affected all versions; fixed in 2.5.2\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-46751/ (Markdown: https://insights.sbomify.com/CVE-2022-46751/index.md)","id":"CVE-2022-46751","markdown":"https://insights.sbomify.com/CVE-2022-46751/index.md","name":"CVE-2022-46751","record":{"aliases":["GHSA-2jc4-r94c-rp7h","MINI-c3pw-49hq-53gg","SUSE-SU-2023:4367-1","openSUSE-SU-2024:13148-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java dependency manager","requires_auth":"none","summary":"An attacker can exploit XML External Entity vulnerabilities in Apache Ivy to exfiltrate data or disrupt execution by parsing malicious XML files.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"ivy","vendor":"apache"}],"cvss":{"score":8.2,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-91","name":"XML Injection"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"Improper Restriction of XML External Entity Reference, XML Injection (aka Blind XPath Injection) vulnerability in Apache Software Foundation Apache Ivy.This issue affects any version of Apache Ivy prior to 2.5.2.\n\nWhen Apache Ivy prior to 2.5.2 parses XML files - either its own configuration, Ivy files or Apache Maven POMs - it will allow downloading external document type definitions and expand any entity references contained therein when used.\n\nThis can be used to exfiltrate data, access resources only the machine running Ivy has access to or disturb the execution of Ivy in different ways.\n\nStarting with Ivy 2.5.2 DTD processing is disabled by default except when parsing Maven POMs where the default is to allow DTD processing but only to include a DTD snippet shipping with Ivy that is needed to deal with existing Maven POMs that are not valid XML files but are nevertheless accepted by Maven. Access can be be made more lenient via newly introduced system properties where needed.\n\nUsers of Ivy prior to version 2.5.2 can use Java system properties to restrict processing of external DTDs, see the section about \"JAXP Properties for External Access restrictions\" inside Oracle's \"Java API for XML Processing (JAXP) Security Guide\".","ecosystems":["Maven","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"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":"Apache Ivy: XML External Entity vulnerability in Apache Ivy","id":"CVE-2022-46751","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2022"},"n_packages":15,"n_references":5,"next":{"headline":"Missing authorization in CPG BIOS","id":"CVE-2022-46752"},"packages":[{"ecosystem":"Maven","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.ivy:ivy","purl":null,"source":"GHSA-2jc4-r94c-rp7h"},{"ecosystem":"Maven","fixed":["2.5.2"],"introduced":["0"],"last_affected":[],"package":"org.apache.ivy:ivy","purl":"pkg:maven/org.apache.ivy/ivy","source":"GHSA-2jc4-r94c-rp7h"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP4","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP4","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Development Tools 15 SP5","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Development%20Tools%2015%20SP5","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/suse/apache-ivy\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/opensuse/apache-ivy\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"openSUSE:Leap 15.5","fixed":["2.5.2-150200.3.9.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/opensuse/apache-ivy\u0026distro=openSUSE%20Leap%2015.5","source":"SUSE-SU-2023:4367-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["2.5.2-1.1"],"introduced":["0"],"last_affected":[],"package":"apache-ivy","purl":"pkg:rpm/opensuse/apache-ivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13148-1"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2022-46750"},"products":["Apache Ivy"],"published":"2023-08-21","related":[{"cvss_score":9.1,"headline":"Apache Ivy allows creating/overwriting any file on the system","id":"CVE-2022-37865","kev_date_added":null,"published":"2022-11-07"},{"cvss_score":7.5,"headline":"Apache Ivy allows path traversal in the presence of a malicious repository","id":"CVE-2022-37866","kev_date_added":null,"published":"2022-11-07"},{"cvss_score":5.4,"headline":"Apache Ivy: PackagerResolver path traversal vulnerability","id":"CVE-2026-26032","kev_date_added":null,"published":"2026-07-15"}],"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":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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-02-13","vendors":["Apache Software Foundation"]},"summary":"An attacker can exploit XML External Entity vulnerabilities in Apache Ivy to exfiltrate data or disrupt execution by parsing malicious XML files.","url":"https://insights.sbomify.com/CVE-2022-46751/"}