HIGH8.8
GHSA-59gp-qqm7-cw4j
Nokogiri has vulnerable dependencies on libxml2 and libxslt
Quick fix
GHSA-59gp-qqm7-cw4j — nokogiri: upgrade to the fixed version with the command below.
bundle update nokogiriDetails
Use after free in Blink XSLT in Google Chrome prior to 91.0.4472.164 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-fq42-c5rg-92c2[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2021-30560[ADVISORY]
- https://chromereleases.googleblog.com/2021/07/stable-channel-update-for-desktop.html[WEB]
- https://crbug.com/1219209[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2021-30560.yml[WEB]
- https://github.com/sparklemotion/nokogiri[PACKAGE]
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.2[WEB]
- https://lists.debian.org/debian-lts-announce/2022/09/msg00010.html[WEB]
- https://security.gentoo.org/glsa/202310-23[WEB]
- https://www.debian.org/security/2022/dsa-5216[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:gem/nokogiri"]}'