{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-12627 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2017-12627 is a critical vulnerability in Apache Xerces C++, published on 1 Mar 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-2017-12627 and fix it if it is affected.\n\nWhat it is: CVE-2017-12627 is a critical vulnerability in Apache Xerces C++, published on 1 Mar 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-2017-12627 in the wild and no public exploit code.\n\nAffected product: Apache Xerces C++. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-12627/ (Markdown: https://insights.sbomify.com/CVE-2017-12627/index.md)","id":"CVE-2017-12627","markdown":"https://insights.sbomify.com/CVE-2017-12627/index.md","name":"CVE-2017-12627","record":{"aliases":["DEBIAN-CVE-2017-12627","DLA-1328-1","ECHO-f7b7-3730-d2a7","GHSA-rh3v-mpfh-4wwj","MGASA-2018-0158","MGASA-2018-0178","SUSE-SU-2019:0977-1","SUSE-SU-2020:2225-1","UBUNTU-CVE-2017-12627","openSUSE-SU-2019:1283-1","openSUSE-SU-2024:11521-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"XML parsing library","requires_auth":"none","summary":"A null pointer dereference in the Apache Xerces-C XML parser can cause a denial of service when processing external DTD paths.","user_interaction":"not_required","vuln_class":"null_dereference"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"xerces-c\\+\\+","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"description":"In Apache Xerces-C XML Parser library before 3.2.1, processing of external DTD paths can result in a null pointer dereference under certain conditions.","ecosystems":["SUSE:Enterprise Storage 5","SUSE:Linux Enterprise Module for Basesystem 15","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP2-LTSS","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP2","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.0","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":"Null dereference in Apache Xerces C++","id":"CVE-2017-12627","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"null_dereference","year":"2017"},"n_packages":19,"n_references":5,"next":{"headline":"Apache James Privilege Escalation","id":"CVE-2017-12628"},"packages":[{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15","fixed":["3.1.4-3.3.25"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015","source":"SUSE-SU-2019:0977-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4-LTSS","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSS","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:OpenStack Cloud 9","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20OpenStack%20Cloud%209","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 9","fixed":["3.1.1-13.3.6"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/suse/xerces-c\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%209","source":"SUSE-SU-2020:2225-1"},{"ecosystem":"openSUSE:Leap 15.0","fixed":["3.1.4-lp150.2.3.1"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/opensuse/xerces-c\u0026distro=openSUSE%20Leap%2015.0","source":"openSUSE-SU-2019:1283-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["3.2.3-1.9"],"introduced":["0"],"last_affected":[],"package":"xerces-c","purl":"pkg:rpm/opensuse/xerces-c\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11521-1"}],"prev":{"headline":"Denial of Service in Apache POI","id":"CVE-2017-12626"},"products":["Apache Xerces C++"],"published":"2018-03-01","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2016-2099","kev_date_added":null,"published":"2016-05-13"},{"cvss_score":8.2,"headline":"HCL BigFix Platform is vulnerable to an integer overflow in xerces-c++ 3.2.3","id":"CVE-2023-37536","kev_date_added":null,"published":"2023-10-11"},{"cvss_score":8.1,"headline":"Apache Xerces C++: Use-after-free on external DTD scan","id":"CVE-2024-23807","kev_date_added":null,"published":"2024-02-28"},{"cvss_score":8.1,"headline":"Use after free in Apache Xerces-C","id":"CVE-2018-1311","kev_date_added":null,"published":"2019-12-18"},{"cvss_score":7.8,"headline":"Denial of service in n/a","id":"CVE-2008-4482","kev_date_added":null,"published":"2008-10-08"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2012-0880","kev_date_added":null,"published":"2017-08-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"A null pointer dereference in the Apache Xerces-C XML parser can cause a denial of service when processing external DTD paths.","url":"https://insights.sbomify.com/CVE-2017-12627/"}