CVE-2017-15412 json
Nokogiri gem, via libxml, is affected by DoS vulnerabilities
published 2018-08-28 8 y ago modified 2026-06-17 4 mo ago also GHSA-r58r-74gx-6wx3 , EUVD-2022-5094
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.9%
- EPSS 2.9% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
Use after free in libxml2 before 2.9.5, as used in Google Chrome prior to 63.0.3239.84 and other products, allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.
Patch / fix
- rubygems nokogiri 1.8.2
- google chrome 63.0.3239.84
- xmlsoft libxml2 2.9.5
- libxml2 Debian 14, Debian 13, Debian 12 2.9.4+dfsg1-5.2
debian advisories DEBIAN-CVE-2017-15412
- libxml2 Ubuntu 14.04 LTS 2.9.1+dfsg1-3ubuntu4.12
- libxml2 Ubuntu 16.04 LTS 2.9.3+dfsg1-1ubuntu0.5
- libxml2 Ubuntu 18.04 LTS 2.9.4+dfsg1-6.1ubuntu1
- chromium-browser Ubuntu 14.04 LTS 63.0.3239.84-0ubuntu0.14.04.1
- chromium-browser Ubuntu 16.04 LTS 63.0.3239.84-0ubuntu0.16.04.1
- chromium-browser Ubuntu 18.04 LTS 63.0.3239.84-0ubuntu1
ubuntu advisories UBUNTU-CVE-2017-15412
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libxml2 RHEL 7 2.9.1-6.el7.4
- libxml2-python RHEL 7 2.9.1-6.el7.4
- chromium-browser RHEL 6 EXTRAS 63.0.3239.84-1.el6_9
red hat advisories RHSA-2020:1190RHSA-2017:3401
- libxml2 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +6 more 2.9.4-46.12.1
- python-libxml2 SLES for SAP 12 SP3, SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2 +4 more 2.9.4-46.12.1
- libxml2 SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 2.7.6-0.77.10.1
- libxml2-python SLES for SAP 11 SP4, SLES 11 SP4 2.7.6-0.77.10.1
suse advisories SUSE-SU-2018:0401-1SUSE-SU-2018:0395-1
- rubygem-nokogiri openSUSE Tumbleweed 1.18.9-1.4
- rubygem-nokogiri openSUSE Tumbleweed 1.18.2-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.15.5-1.5
- chromium openSUSE Tumbleweed 93.0.4577.82-1.1
- rubygem-nokogiri openSUSE Tumbleweed 1.13.3-1.1
- chromium openSUSE Tumbleweed 113.0.5672.92-1.1
- ruby3.2-rubygem-nokogiri openSUSE Tumbleweed 1.13.9-1.7
- chromium Package Hub 12 SP2 63.0.3239.84-40.1
opensuse advisories openSUSE-SU-2026:10356-1openSUSE-SU-2025:14697-1openSUSE-SU-2024:14174-1openSUSE-SU-2024:10681-1openSUSE-SU-2024:11912-1openSUSE-SU-2024:12948-1
- chromium Arch Linux 63.0.3239.84-1
arch linux advisories AVG-544
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-15412 updated cvss 8.8
libxml2: Use after free in xmlXPathCompOpEvalPositionalPredicate() function in xpath.c
-
Red Hat Enterprise Linux 6 libxml2, libxml2-pythonaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 mingw-libxml2, mingw32-libxml2, mingw64-libxml2affected: no fix available
-
Red Hat JBoss Enterprise Web Server 3 libxml2affected: no fix planned “Will not fix”
-
Red Hat Ansible Tower 3.5 for RHEL 7 Server ansible-tower-35/ansible-tower 3.5.6-1fixed: vendor fix RHBA-2020:1539
-
Red Hat Ansible Tower 3.6 for RHEL 7 ansible-tower-36/ansible-tower 3.6.4-1fixed: vendor fix RHBA-2020:1540
-
Red Hat Enterprise Linux Client (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel 2.9.1-6.el7.4, libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4 Red Hat Enterprise Linux ComputeNode (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel 2.9.1-6.el7.4, libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4fixed: vendor fix RHSA-2020:1190
-
Red Hat Enterprise Linux Desktop Supplementary (v. 6) chromium-browser 63.0.3239.84-1.el6_9fixed: vendor fix RHSA-2017:3401
-
Red Hat Enterprise Linux Server (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4fixed: vendor fix RHSA-2020:1190
show 5 moreshow fewer
-
Red Hat Enterprise Linux Server Supplementary (v. 6) chromium-browser 63.0.3239.84-1.el6_9fixed: vendor fix RHSA-2017:3401
-
Red Hat Enterprise Linux Workstation (v. 7) libxml2 2.9.1-6.el7.4, libxml2-python 2.9.1-6.el7.4 Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static 2.9.1-6.el7.4, libxml2-debuginfo 2.9.1-6.el7.4fixed: vendor fix RHSA-2020:1190
-
Red Hat Enterprise Linux Workstation Supplementary (v. 6) chromium-browser 63.0.3239.84-1.el6_9fixed: vendor fix RHSA-2017:3401
-
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2018:0287
-
Red Hat Enterprise Linux 8 libxml2, python3-libxml2not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.94% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | nokogiri | <1.8.2 |
1.8.2 |
Affected products
- n/a Google Chrome prior to 63.0.3239.84 unknown
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
debian.org
/security/2018/dsa-4086
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2018:0287
vendor-advisory, web
-
access.redhat.com
/errata/RHSA-2017:3401
vendor-advisory, web
-
security.gentoo.org
/glsa/201801-03
vendor-advisory, web
-
securitytracker.com
/id/1040348
vdb-entry
-
crbug.com
/727039
web
-
bugzilla.gnome.org
/show_bug.cgi?id=783160
web
-
lists.debian.org
/debian-lts-announce/2017/12/msg00014.html
mailing-list, web
-
chromereleases.googleblog.com
/2017/12/stable-channel-update-for-desktop.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2017-15412
advisory
-
github.com
/sparklemotion/nokogiri/issues/1714
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-15412.yml
web
-
web.archive.org
/web/20201208155618/http://www.securitytracker.com/id/1040348
web
Sources
- CVE List CVE-2017-15412
- GitHub Advisory GHSA-r58r-74gx-6wx3
- NVD CVE-2017-15412
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.