cve.bz

CVE-2020-26247

4.3 mediumEPSS 1.2%Fix available

Medium (4.3). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in nokogiri 1.11.0.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 69th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26247 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26247?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26247?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26247 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nokogiri:nokogiribefore 1.11.0
nokogiri:nokogiri1.11.0:rc1
nokogiri:nokogiri1.11.0:rc2
nokogiri:nokogiri1.11.0:rc3
debian:debian_linux9.0
debian:debian_linux10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vr8q-g5c7-m54mRubyGemsnokogiri<1.11.01.11.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9ruby-nokogiri1.6.8.1-1+deb9u1DLA-2678-1
Debian10ruby-nokogiri1.10.0+dfsg1-2+deb10u1DLA-3149-1
Debian12, 13, 14ruby-nokogiri1.11.1+dfsg-1DEBIAN-CVE-2020-26247
UbuntuPro:20.04:LTSruby-nokogiri1.10.7+dfsg1-2ubuntu0.1~esm2UBUNTU-CVE-2020-26247 USN-7659-1
UbuntuPro:22.04:LTSruby-nokogiri1.13.1+dfsg-2ubuntu0.1~esm1USN-7659-1
Red Hatsatellite:6.10::el7candlepin0:4.0.9-1.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7satellite0:6.10.0-3.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7tfm-rubygem-activerecord-session_store0:2.0.0-1.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7tfm-rubygem-addressable0:2.8.0-1.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7tfm-rubygem-puma0:5.3.2-1.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7tfm-rubygem-rails, tfm-rubygem-actionpack0:6.0.3.7-1.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7foreman0:2.5.2.17-2.el7satRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7python-aiohttp0:3.7.4-1.el7pcRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7python-ecdsa, python3-ecdsa0:0.13.3-2.el7pcRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7python-pyyaml, python3-pyyaml0:5.4.1-1.el7pcRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7python-urllib3, python3-urllib30:1.26.5-1.el7pcRHSA-2021:4702
Red Hatsatellite:6.10::el7, satellite_capsule:6.10::el7python3-django0:2.2.24-1.el7pcRHSA-2021:4702
2 more for Red Hat in the JSON and on Red Hat's page.
SUSEHPE Helion OpenStack 8documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more8.20210512-1.32.5SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8venv-openstack-horizon-hpe12.0.5~dev6-14.36.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8ardana-cobbler8.0+git.1614096566.e8c2b27-3.44.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-aodh5.1.1~dev7-12.32.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-barbican5.0.2~dev3-12.33.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-ceilometer9.0.8~dev7-12.30.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-cinder11.2.3~dev29-14.34.2SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-designate5.0.3~dev7-12.31.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-freezer5.0.0.0~xrc2~dev2-10.28.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-glance15.0.3~dev3-12.31.3SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-heat9.0.8~dev22-12.33.2SUSE-SU-2021:2554-1
SUSEHPE Helion OpenStack 8, OpenStack Cloud 8venv-openstack-ironic9.1.8~dev8-12.33.3SUSE-SU-2021:2554-1
32 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2rubygem-nokogiri1.8.5-lp152.4.3.1openSUSE-SU-2021:0237-1
Alpinev3.14, v3.15, v3.16 and 8 moreruby-nokogiri1.11.6-r0ALPINE-CVE-2020-26247

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

There are no known workarounds for affected versions. Please refer to the upstream advisory page for additional information.

ProductPackageStateAdvisory
3scale API Management 2.11 on RHEL 73scale-amp2/3scale-rhel7-operator:1.14.1-10Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 73scale-amp2/3scale-rhel7-operator-metadata:2.11.1-33Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 73scale-amp2/apicast-rhel7-operator:1.14.1-6Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 73scale-amp2/apicast-rhel7-operator-metadata:2.11.1-10Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 73scale-amp2/memcached-rhel7:1.4.16-42Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 73scale-amp2/system-rhel7:1.15.1-13Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 83scale-amp2/apicast-gateway-rhel8:1.20.1-4Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 83scale-amp2/backend-rhel8:1.14.1-3Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 83scale-amp2/toolbox-rhel8:1.7.1-5Fixed 2021-12-16RHSA-2021:5191
3scale API Management 2.11 on RHEL 83scale-amp2/zync-rhel8:1.14.1-3Fixed 2021-12-16RHSA-2021:5191
Red Hat Satellite 6.10 for RHEL 7tfm-rubygem-nokogiri-0:1.11.3-2.el7satFixed 2021-11-16RHSA-2021:4702
CloudForms Management Engine 5rubygem-nokogiriWill not fix
Red Hat Satellite 6tfm-ror52-rubygem-nokogiriWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-26247.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON