CVEfocus › CVE database › CVE-2020-26247

CVE-2020-26247XXE in Nokogiri

CVSS 2.6 LowEPSS 1.2% (higher than 68% of CVEs)Published 2020-12-30Updated 2024-08-04Assigner: GitHub_M

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.

CWE-611

What to do

Fixed builds are available from Alpine, Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
3Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-nokogiriNot affected
vulnerable_code_not_present
Ubuntu 20.04ruby-nokogiriFix pending1.10.7+dfsg1-2ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2020-26247
Ubuntu 18.04ruby-nokogiriFix pending
Ubuntu 16.04ruby-nokogiriFix pending
Debian 14ruby-nokogiriFixed1.11.1+dfsg-1DEBIAN-CVE-2020-26247
Debian 13ruby-nokogiriFixed1.11.1+dfsg-1DEBIAN-CVE-2020-26247
Debian 12ruby-nokogiriFixed1.11.1+dfsg-1DEBIAN-CVE-2020-26247
Alpine Linux 3.24ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.23ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.22ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.21ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.20ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.19ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.18ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.17ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.16ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.15ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
Alpine Linux 3.14ruby-nokogiriFixed1.11.6-r0ALPINE-CVE-2020-26247
RubyGems librarynokogiriFixed1.11.0GHSA-vr8q-g5c7-m54m

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.