{"answers":{"affected":"1 open source package ship an affected version, including nokogiri.","exploited":"There is no known exploitation of GHSA-mrxw-mxhj-p664 in the wild and no public exploit code.","exposure":"","fix":"Upgrade nokogiri to 1.18.4 or later.","what":"GHSA-mrxw-mxhj-p664 is a vulnerability in nokogiri, published on 14 Mar 2025."},"fix_prompt":"Check this codebase for GHSA-mrxw-mxhj-p664 and fix it if it is affected.\n\nWhat it is: GHSA-mrxw-mxhj-p664 is a vulnerability in nokogiri, published on 14 Mar 2025. \nExploitation: There is no known exploitation of GHSA-mrxw-mxhj-p664 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nokogiri (RubyGems): affected all versions; fixed in 1.18.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/GHSA-mrxw-mxhj-p664/ (Markdown: https://insights.sbomify.com/GHSA-mrxw-mxhj-p664/index.md)","id":"GHSA-mrxw-mxhj-p664","markdown":"https://insights.sbomify.com/GHSA-mrxw-mxhj-p664/index.md","name":"GHSA-mrxw-mxhj-p664","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"## Summary\n\nNokogiri v1.18.4 upgrades its dependency libxslt to [v1.1.43](https://gitlab.gnome.org/GNOME/libxslt/-/releases/v1.1.43).\n\nlibxslt v1.1.43 resolves:\n\n- CVE-2025-24855: Fix use-after-free of XPath context node\n- CVE-2024-55549: Fix UAF related to excluded namespaces\n\n## Impact\n\n### CVE-2025-24855\n\n- \"Use-after-free due to xsltEvalXPathStringNs leaking xpathCtxt-\u003enode\"\n- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H\n- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/128\n- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2025-24855\n\n### CVE-2024-55549\n\n- \"Use-after-free related to excluded result prefixes\"\n- MITRE has rated this 7.8 High CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:H\n- Upstream report: https://gitlab.gnome.org/GNOME/libxslt/-/issues/127\n- NVD entry: https://nvd.nist.gov/vuln/detail/CVE-2024-55549","ecosystems":["RubyGems"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Nokogiri updates packaged libxslt to v1.1.43 to resolve multiple CVEs","id":"GHSA-mrxw-mxhj-p664","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":null,"year":"2025"},"n_packages":1,"n_references":null,"n_vendor_status":1,"nickname":null,"packages":[{"ecosystem":"RubyGems","fixed":["1.18.4"],"introduced":["0"],"last_affected":[],"name_kind":null,"package":"nokogiri","purl":"pkg:gem/nokogiri","purl_source":"derived","scope":"upstream","source":"GHSA-mrxw-mxhj-p664"}],"products":[],"published":"2025-03-14","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendor_status":[{"n_packages":1,"name":"Upstream","packages":[{"fixed":["1.18.4"],"name":"nokogiri","purl":"pkg:gem/nokogiri","sources":["GHSA-mrxw-mxhj-p664"],"status":"fixed"}],"release":null,"scope":"upstream","status":"fixed","statuses":{"fixed":1},"vendor":null}],"vendors":null},"summary":null,"url":"https://insights.sbomify.com/GHSA-mrxw-mxhj-p664/"}