CRITICAL9.8
GHSA-qxcg-xjjg-66mj
Nokogiri vulnerable to libxslt protection mechanism bypass
Quick fix
GHSA-qxcg-xjjg-66mj — nokogiri: upgrade to the fixed version with the command below.
bundle update nokogiriDetails
A dependency of Nokogiri, libxslt through 1.1.33 allows bypass of a protection mechanism because callers of `xsltCheckRead` and `xsltCheckWrite` permit access even upon receiving a `-1` error code. `xsltCheckRead` can return `-1` for a crafted URL that is not actually invalid and is subsequently loaded.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-11068[ADVISORY]
- https://github.com/sparklemotion/nokogiri/issues/1892[WEB]
- https://github.com/sparklemotion/nokogiri/pull/1898[WEB]
- https://github.com/sparklemotion/nokogiri/commit/fe034aedcc59b566740567d621843731686676b9[WEB]
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html[WEB]
- https://usn.ubuntu.com/3947-2[WEB]
- https://usn.ubuntu.com/3947-1[WEB]
- https://security.netapp.com/advisory/ntap-20191017-0001[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SK4YNISS22MJY22YX5I6V2U63QZAUEHA[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCOAX2IHUMKCM3ILHTMGLHCDSBTLP2JU[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/36TEYN37XCCKN2XUMRTBBW67BPNMSW4K[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SK4YNISS22MJY22YX5I6V2U63QZAUEHA[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GCOAX2IHUMKCM3ILHTMGLHCDSBTLP2JU[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36TEYN37XCCKN2XUMRTBBW67BPNMSW4K[WEB]
- https://lists.debian.org/debian-lts-announce/2019/04/msg00016.html[WEB]
- https://gitlab.gnome.org/GNOME/libxslt/commit/e03553605b45c88f0b4b2980adfbbb8f6fca2fd6[WEB]
- https://github.com/sparklemotion/nokogiri/blob/f7aa3b0b29d6fe5fafe93dacd9b96b6b3d16b7ec/CHANGELOG.md?plain=1#L826[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-11068.yml[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00048.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00052.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00053.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00025.html[WEB]
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00001.html[WEB]
- http://www.openwall.com/lists/oss-security/2019/04/22/1[WEB]
- http://www.openwall.com/lists/oss-security/2019/04/23/5[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"]}'