Debian Security Advisory

DLA-2678-1 ruby-nokogiri -- LTS security update

Date Reported:
06 Jun 2021
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 978967.
In Mitre's CVE dictionary: CVE-2020-26247.
More information:

An XXE vulnerability was found in Nokogiri, a Rubygem providing HTML, XML, SAX, and Reader parsers with XPath and CSS selector support.

XML Schemas parsed by Nokogiri::XML::Schema were trusted by default, allowing external resources to be accessed over the network, potentially enabling XXE or SSRF attacks. The new default behavior is to treat all input as untrusted. The upstream advisory provides further information how to mitigate the problem or restore the old behavior again.

For Debian 9 stretch, this problem has been fixed in version

We recommend that you upgrade your ruby-nokogiri packages.

For the detailed security status of ruby-nokogiri please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: