CVE-2020-26247

Name
CVE-2020-26247
Description
Nokogiri is a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support. In Nokogiri before version 1.11.0.rc4 there is an XXE vulnerability. XML Schemas parsed by Nokogiri::XML::Schema are trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. This behavior is counter to the security policy followed by Nokogiri maintainers, which is to treat all input as untrusted by default whenever possible. This is fixed in Nokogiri version 1.11.0.rc4.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Product https://rubygems.org/gems/nokogiri
Release Notes https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4
Mitigation https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
Patch https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b
Permissions Required https://hackerone.com/reports/747489
MLIST https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:* ruby-nokogiri >= None < 1.11.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ruby-nokogiri 3.13-community 1.10.10-r0 Jakub Jirutka <jakub@jirutka.cz> possibly vulnerable