{"answers":{"affected":"2 open source packages ship an affected version, including nokogiri. It affects 3 products.","exploited":"There is no known exploitation of CVE-2019-18197 in the wild and no public exploit code.","fix":"Upgrade nokogiri to 1.10.5 or later.","what":"CVE-2019-18197 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 18 Oct 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-18197 and fix it if it is affected.\n\nWhat it is: CVE-2019-18197 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 18 Oct 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-18197 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nokogiri (RubyGems): affected all versions; fixed in 1.10.5\n- nokogiri (RubyGems): affected all versions; fixed in 1.10.5\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-2019-18197/ (Markdown: https://insights.sbomify.com/CVE-2019-18197/index.md)","id":"CVE-2019-18197","markdown":"https://insights.sbomify.com/CVE-2019-18197/index.md","name":"CVE-2019-18197","record":{"aliases":["ALPINE-CVE-2019-18197","DEBIAN-CVE-2019-18197","DLA-1973-1","GHSA-242x-7cm6-4w8j","JLSEC-2026-580","SUSE-SU-2020:0920-1","SUSE-SU-2020:0920-2","UBUNTU-CVE-2019-18197"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"libxslt library","requires_auth":"none","summary":"A use-after-free flaw in libxslt allows attackers to write out-of-bounds or disclose uninitialized memory, potentially leading to code execution.","user_interaction":"required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"libxslt","vendor":"xmlsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-908","name":"Use of Uninitialized Resource"},{"id":"CWE-416","name":"Use After Free"}],"description":"In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.","ecosystems":["RubyGems","SUSE:Enterprise Storage 5","SUSE:HPE Helion OpenStack 8","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","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 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:OpenStack Cloud 7","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud Crowbar 8"],"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":"Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability","id":"CVE-2019-18197","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux"],"type":"use_after_free","year":"2019"},"n_packages":19,"n_references":15,"next":{"headline":"Use after free in n/a","id":"CVE-2019-18198"},"packages":[{"ecosystem":"RubyGems","fixed":["1.10.5"],"introduced":["0"],"last_affected":[],"package":"nokogiri","purl":null,"source":"GHSA-242x-7cm6-4w8j"},{"ecosystem":"RubyGems","fixed":["1.10.5"],"introduced":["0"],"last_affected":[],"package":"nokogiri","purl":"pkg:gem/nokogiri","source":"GHSA-242x-7cm6-4w8j"},{"ecosystem":"SUSE:Enterprise Storage 5","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Enterprise%20Storage%205","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:HPE Helion OpenStack 8","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=HPE%20Helion%20OpenStack%208","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-BCL","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCL","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP2-LTSS","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSS","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-BCL","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCL","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP3-LTSS","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSS","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP4","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP2","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP3","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP4","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP4","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP4","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:Linux Enterprise Software Development Kit 12 SP5","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5","source":"SUSE-SU-2020:0920-1"},{"ecosystem":"SUSE:OpenStack Cloud 7","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20OpenStack%20Cloud%207","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:OpenStack Cloud 8","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20OpenStack%20Cloud%208","source":"SUSE-SU-2020:0920-2"},{"ecosystem":"SUSE:OpenStack Cloud Crowbar 8","fixed":["1.1.28-17.9.1"],"introduced":["0"],"last_affected":[],"package":"libxslt","purl":"pkg:rpm/suse/libxslt\u0026distro=SUSE%20OpenStack%20Cloud%20Crowbar%208","source":"SUSE-SU-2020:0920-2"}],"prev":{"headline":"Other in n/a","id":"CVE-2019-18196"},"products":["n/a"],"published":"2019-10-18","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"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":"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-05-28","vendors":["n/a"]},"summary":"A use-after-free flaw in libxslt allows attackers to write out-of-bounds or disclose uninitialized memory, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2019-18197/"}