CVE-2020-26247
CVE-2020-26247 · XXE in Nokogiri
CVSS 2.6 · Low · EPSS 1.2% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- nokogiriNo fix published
- ruby-nokogiri Alpine 3.14Update to 1.11.6-r0
- ruby-nokogiri Alpine 3.15Update to 1.11.6-r0
- ruby-nokogiri Alpine 3.16Update to 1.11.6-r0
- and 13 more
Check the installed version:
apk list -I -o ruby-nokogiriAssess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- USN-7659-1 · Ubuntu Pro 20.04 LTS, Ubuntu Pro 22.04 LTS ·
- RHSA-2021:4702 · Red Hat satellite 6.10 el7, Red Hat satellite capsule 6.10 el7 ·
- DLA-3149-1 · Debian 10 ·
- SUSE-SU-2021:2554-1 · SUSE HPE Helion OpenStack 8, SUSE OpenStack Cloud 8, SUSE OpenStack Cloud Crowbar 8 ·
- DLA-2678-1 · Debian 9 ·
- openSUSE-SU-2021:0237-1 · openSUSE Leap 15.2 ·
- SUSE-SU-2021:0251-1 · SUSE Linux Enterprise High Availability Extension 15, SUSE Linux Enterprise High Availability Extension 15 SP1, SUSE Linux Enterprise High Availability Extension 15 SP2 ·
- SUSE-SU-2021:0210-1 · SUSE OpenStack Cloud 7, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·
Affected products and versions
nokogiri
- Versions
- < 1.11.0.rc4: Affected
No fix published
ruby-nokogiri Alpine 3.14
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.15
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.16
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.17
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.18
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.19
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.20
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.21
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.22
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.23
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Alpine 3.24
- Affected ranges
- ECOSYSTEM: < 1.11.6-r0
Update to 1.11.6-r0
ruby-nokogiri Debian 12
- Affected ranges
- ECOSYSTEM: < 1.11.1+dfsg-1
Update to 1.11.1+dfsg-1
ruby-nokogiri Debian 13
- Affected ranges
- ECOSYSTEM: < 1.11.1+dfsg-1
Update to 1.11.1+dfsg-1
ruby-nokogiri Debian 14
- Affected ranges
- ECOSYSTEM: < 1.11.1+dfsg-1
Update to 1.11.1+dfsg-1
nokogiri RubyGems
- Versions
- 1.0.0
- 1.0.1
- 1.0.2
- 1.0.3
- 1.0.4
- 1.0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8.rc2
- 1.6.8.rc3
- 1.7.0
- 1.7.0.1
- 1.7.1
- 1.7.2
- 1.8.0
- 1.8.1
- 1.8.2
- 1.8.3
- 1.8.4
- 1.8.5
- 1.9.0
- 1.9.0.rc1
- 1.9.1
- Affected ranges
- ECOSYSTEM: < 1.11.0
Update to 1.11.0
ruby-nokogiri Ubuntu Pro 20.04 LTS
- Versions
- 1.10.3+dfsg1-2
- 1.10.4+dfsg1-1
- 1.10.7+dfsg1-1
- 1.10.7+dfsg1-2
- 1.10.7+dfsg1-2build1
- Affected ranges
- ECOSYSTEM: < 1.10.7+dfsg1-2ubuntu0.1~esm2
Update to 1.10.7+dfsg1-2ubuntu0.1~esm2
Original sources
- https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-vr8q-g5c7-m54m
- https://rubygems.org/gems/nokogiri
- https://hackerone.com/reports/747489
- https://github.com/sparklemotion/nokogiri/releases/tag/v1.11.0.rc4
- https://github.com/sparklemotion/nokogiri/commit/9c87439d9afa14a365ff13e73adc809cb2c3d97b
- https://lists.debian.org/debian-lts-announce/2021/06/msg00007.html
- https://security.gentoo.org/glsa/202208-29
- https://lists.debian.org/debian-lts-announce/2022/10/msg00018.html
- https://nvd.nist.gov/vuln/detail/CVE-2020-26247