Debian Security Advisory
DLA-2678-1 ruby-nokogiri -- LTS security update
- Date Reported:
- 06 Jun 2021
- Affected Packages:
- ruby-nokogiri
- Vulnerable:
- Yes
- 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.
https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
For Debian 9 stretch, this problem has been fixed in version 1.6.8.1-1+deb9u1.
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: https://security-tracker.debian.org/tracker/ruby-nokogiri
Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: https://wiki.debian.org/LTS