CVE-2020-26247

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc1:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc2:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc3:*:*:*:ruby:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

19 Oct 2022, 18:53

Type Values Removed Values Added
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html - Mailing List, Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

12 Oct 2022, 17:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html -

02 Sep 2022, 15:43

Type Values Removed Values Added
First Time Debian debian Linux
Debian
References (GENTOO) https://security.gentoo.org/glsa/202208-29 - (GENTOO) https://security.gentoo.org/glsa/202208-29 - Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html - (MLIST) https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html - Mailing List, Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

15 Aug 2022, 11:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202208-29 -

06 Jun 2021, 21:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html -

04 Jan 2021, 15:32

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 4.0
v3 : 4.3
CPE cpe:2.3:a:nokogiri:nokogiri:*:*:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc2:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc3:*:*:*:ruby:*:*
cpe:2.3:a:nokogiri:nokogiri:1.11.0:rc1:*:*:*:ruby:*:*
References (MISC) https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4 - (MISC) https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4 - Release Notes, Third Party Advisory
References (MISC) https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b - (MISC) https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b - Patch, Third Party Advisory
References (CONFIRM) https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m - (CONFIRM) https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m - Mitigation, Third Party Advisory
References (MISC) https://hackerone.com/reports/747489 - (MISC) https://hackerone.com/reports/747489 - Permissions Required
References (MISC) https://rubygems.org/gems/nokogiri - (MISC) https://rubygems.org/gems/nokogiri - Product, Third Party Advisory

30 Dec 2020, 20:25

Type Values Removed Values Added
New CVE

Information

Published : 2020-12-30 19:15

Updated : 2023-12-10 13:41


NVD link : CVE-2020-26247

Mitre link : CVE-2020-26247

CVE.ORG link : CVE-2020-26247


JSON object : View

Products Affected

debian

  • debian_linux

nokogiri

  • nokogiri
CWE
CWE-611

Improper Restriction of XML External Entity Reference