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, ELA-438-1
Debian Bugs978967

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-nokogiri (PTS)jessie, jessie (lts)1.6.3.1+ds-1+deb8u3fixed
stretch (security), stretch (lts), stretch1.6.8.1-1+deb9u2fixed
buster (security), buster, buster (lts)1.10.0+dfsg1-2+deb10u1fixed
bullseye1.11.1+dfsg-2fixed
bullseye (security)1.11.1+dfsg-2+deb11u1fixed
bookworm1.13.10+dfsg-2fixed
sid, trixie1.16.4+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-nokogirisourcejessie1.6.3.1+ds-1+deb8u2ELA-438-1
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