CVE-2020-26247

NameCVE-2020-26247
DescriptionNokogiri 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2678-1, DLA-3149-1
Debian Bugs978967

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-nokogiri (PTS)buster1.10.0+dfsg1-2vulnerable
buster (security)1.10.0+dfsg1-2+deb10u1fixed
bullseye1.11.1+dfsg-2fixed
bookworm1.13.10+dfsg-2fixed
trixie1.16.0+dfsg-2fixed
sid1.16.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-nokogirisourcestretch1.6.8.1-1+deb9u1DLA-2678-1
ruby-nokogirisourcebuster1.10.0+dfsg1-2+deb10u1DLA-3149-1
ruby-nokogirisource(unstable)1.11.1+dfsg-1low978967

Notes

https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b (v1.11.0.rc4)

Search for package or bug name: Reporting problems