XML External Entity (XXE) Injection The advisory has been revoked - it doesn't affect any version of package tfm-ror52-rubygem-nokogiri  (opens in a new tab)


Threat Intelligence

EPSS
1.18% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-TFMROR52RUBYGEMNOKOGIRI-6579684
  • published7 Apr 2024
  • disclosed30 Dec 2020

Introduced: 30 Dec 2020

CVE-2020-26247  (opens in a new tab)
CWE-611  (opens in a new tab)

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:7.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tfm-ror52-rubygem-nokogiri package and not the tfm-ror52-rubygem-nokogiri package as distributed by RHEL.

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.