Skip to content
OpenAdvisories
High · 8.6 CVE-2021-3517 EUVD-2022-4443GHSA-jw9f-hh49-cvp9

Nokogiri contains libxml Out-of-bounds Write vulnerability

Published May 19, 2021 · Updated Oct 14, 2026 · Assigned by redhat

Description

There is a flaw in the xml entity encoding functionality of libxml2 in versions before 2.9.11. An attacker who is able to supply a crafted file to be processed by an application linked with the affected functionality of libxml2 could trigger an out-of-bounds read. The most likely impact of this flaw is to application availability, with some potential impact to confidentiality and integrity if an attacker is able to use memory information to further exploit the application.

Affected products

VendorProductAffectedFixed
— libxml2 libxml2 2.9.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libxml2 2.9.10+dfsg-6.6 —
Debian 13 libxml2 2.9.10+dfsg-6.6 —
Debian 12 libxml2 2.9.10+dfsg-6.6 —
Debian 9 libxml2 2.9.4+dfsg1-2.2+deb9u4 DLA-2653-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libxml2 2.9.10+dfsg-5ubuntu0.20.04.1 USN-4991-1
Ubuntu 18.04 LTS libxml2 2.9.4+dfsg1-6.1ubuntu1.4 USN-4991-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS libxml2 2.9.3+dfsg1-1ubuntu0.7+esm1 USN-4991-1
Ubuntu Pro 14.04 LTS libxml2 2.9.1+dfsg1-3ubuntu4.13+esm2 USN-4991-1
ReleasePackageFixed inAdvisory
RHEL 8 libxml2 +2 2.9.7-9.el8_4.2 RHSA-2021:2569
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat JBoss Core Services 1 jbcs-httpd24-apr-util +8 1.6.1-91.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 7.78.0-3.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.37-80.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.16-10.Final_redhat_2.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.7-22.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +2 1.2.48-29.redhat_1.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_md 1:2.0.8-41.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.2-68.GA.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.37-80.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-nghttp2 +1 1.39.2-41.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1g-11.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl-chil 1.0.0-11.el8jbcs RHSA-2022:1389
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl-pkcs11 0.4.10-26.el8jbcs RHSA-2022:1389

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libxml2-devel 2.9.7-9.el8_4.2 ALSA-2021:2569

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libxml2 2.9.7-9.el8_4.2 RLSA-2021:2569
ReleasePackageFixed inAdvisory
SLES 15 SP3 libxml2 +1 2.9.7-3.31.1 SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1
SLES 15 SP2 libxml2 +1 2.9.7-3.31.1 SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1
SLES 12 SP5 libxml2 +1 2.9.4-46.40.1 SUSE-SU-2021:1658-1, SUSE-SU-2021:1524-1
SLES 12 SP4 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SLES 12 SP3 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
Show 13 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP2 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SLES 11 SP4 libxml2 +1 2.7.6-0.77.36.1 SUSE-SU-2021:14729-1
SLES 2 python-libxml2-python 2.9.7-3.31.1 SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1
SLES for SAP 12 SP5 libxml2 +1 2.9.4-46.40.1 SUSE-SU-2021:1658-1, SUSE-SU-2021:1524-1
SLES for SAP 12 SP4 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SLES for SAP 12 SP3 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SLE Micro 5.0 libxml2 2.9.7-3.31.1 SUSE-SU-2021:1654-1, SUSE-SU-2021:1523-1
SUSE OpenStack Cloud Crowbar 9 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SUSE OpenStack Cloud Crowbar 8 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SUSE OpenStack Cloud 9 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SUSE OpenStack Cloud 8 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
SUSE Linux Enterprise Point of Sale 11 SP3 libxml2 +1 2.7.6-0.77.36.1 SUSE-SU-2021:14729-1
SUSE HPE Helion OpenStack 8 libxml2 +1 2.9.4-46.43.1 SUSE-SU-2021:1658-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxml2 2.9.12-1.2 openSUSE-SU-2024:11016-1
openSUSE Tumbleweed ruby3.2-rubygem-nokogiri 1.13.9-1.7 openSUSE-SU-2024:13165-1
openSUSE Tumbleweed rubygem-nokogiri 1.13.3-1.1 openSUSE-SU-2026:10356-1, openSUSE-SU-2025:14697-1, openSUSE-SU-2024:14174-1
openSUSE Leap 15.2 libxml2 +1 2.9.7-lp152.10.9.1 openSUSE-SU-2021:0764-1, openSUSE-SU-2021:0692-1
ReleasePackageFixed inAdvisory
Alpine v3.24 libxml2 2.9.11-r0 —
Alpine v3.23 libxml2 2.9.11-r0 —
Alpine v3.23 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.22 libxml2 2.9.11-r0 —
Alpine v3.22 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.21 libxml2 2.9.11-r0 —
Alpine v3.21 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.20 libxml2 2.9.11-r0 —
Alpine v3.20 qt5-qtwebengine 5.15.3_git20211112-r0 —
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxml2 2.9.11-r0 —
Alpine v3.19 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.18 libxml2 2.9.11-r0 —
Alpine v3.18 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.17 libxml2 2.9.11-r0 —
Alpine v3.17 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.16 libxml2 2.9.11-r0 —
Alpine v3.16 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.15 libxml2 2.9.11-r0 —
Alpine v3.15 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.14 libxml2 2.9.11-r0 —
Alpine v3.14 qt5-qtwebengine 5.15.3_git20211112-r0 —
Alpine v3.13 libxml2 2.9.10-r7 —
Alpine v3.12 libxml2 2.9.10-r6 —
Alpine v3.11 libxml2 2.9.10-r5 —
Alpine v3.10 libxml2 2.9.9-r5 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 java-11-amazon-corretto +2 1:11.0.13+8-1.amzn2 ALAS2-2021-1718
Amazon Linux 2 libxml2 +3 2.9.1-6.amzn2.5.3 ALAS2-2021-1662

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libxml2 +2 2.9.7-9.0.1.el8_4.2 ELSA-2021-2569

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems nokogiri < 1.11.4 1.11.4 GHSA-jw9f-hh49-cvp9

Advisories 31

References