CVE-2020-26247

Low

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.

SeverityLow
CVSS2.6
Exploit probability—
ProductNokogiri
PublishedDec 30, 2020
First seenDec 30, 2020

How to fix

Update
  • nokogiri nokogiri1.11.0 or later

Affected products

ProductAffected versionsFixed in
nokogiri nokogiriv < 1.11.0, 1.11.01.11.0
debian debian_linux9.0, 10.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.