CVE-2020-26247

Advisory lineage Upstream: 0 Downstream: 11
Modified
Published: 30 Dec 2020, 00:00
Last modified:04 Aug 2024, 15:56

Vulnerability Summary

Overall Risk (default)
low
17/100
CVSS Score
4.3 MEDIUM
v3.1 (nvd)
EPSS Score
0.26% LOW
0% probability -0.42%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

30 Dec 2020, 00:00
Published
Vulnerability first disclosed
04 Aug 2024, 15:56
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.1LOWScore: 2.6CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
  • v3.1MEDIUMScore: 4.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
  • v2.0MEDIUMScore: 4AV:N/AC:L/Au:S/C:P/I:N/A:N

EPSS Trends

Current EPSS score: 0.26% Percentile: 50%

Techniques & Countermeasures

  • CWE-611Improper Restriction of XML External Entity Reference

    The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Systems

  • debiandebian_linux

    9.0 | 10.0

  • nokogirinokogiri

    < 1.11.0 | 1.11.0:rc1 | 1.11.0:rc2 | 1.11.0:rc3

  • sparklemotionnokogiri

    < 1.11.0.rc4

References (8)