Skip to content
OpenAdvisories
High · 8.8 CVE-2017-5029 EUVD-2018-0301GHSA-pf6m-fxpq-fg8v

Nokogiri implementation of libxslt lacks integer overflow checks

Published Apr 24, 2017 · Updated Aug 5, 2024 · Assigned by Chrome

Description

The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Blink in Google Chrome prior to 57.0.2987.98 for Mac, Windows, and Linux and 57.0.2987.108 for Android, lacked a check for integer overflow during a size calculation, which allowed a remote attacker to perform an out of bounds memory write via a crafted HTML page.

Affected products

VendorProductAffectedFixed
— Google Chrome prior to 57.0.2987.98 for Mac, Windows and Linux, and 57.0.2987.108 for Android Google Chrome prior to 57.0.2987.98 for Mac, Windows and Linux, and 57.0.2987.108 for Android —

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 libxslt 1.1.29-2.1 —
Debian 13 libxslt 1.1.29-2.1 —
Debian 12 libxslt 1.1.29-2.1 —
Debian 8 chromium-browser 57.0.2987.98-1~deb8u1 DSA-3810-1
Debian 7 libxslt 1.1.26-14.1+deb7u3 DLA-866-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS chromium-browser 57.0.2987.98-0ubuntu0.16.04.1276 —
Ubuntu 16.04 LTS libxslt 1.1.28-2.1ubuntu0.1 USN-3271-1
Ubuntu 16.04 LTS oxide-qt 1.21.5-0ubuntu0.16.04.1 USN-3236-1
Ubuntu 14.04 LTS chromium-browser 58.0.3029.81-0ubuntu0.14.04.1172 —
Ubuntu 14.04 LTS libxslt 1.1.28-2ubuntu0.1 USN-3271-1
Ubuntu 14.04 LTS oxide-qt 1.21.5-0ubuntu0.14.04.1 USN-3236-1
ReleasePackageFixed inAdvisory
RHEL 6 chromium-browser 57.0.2987.98-1.el6 RHSA-2017:0499
ReleasePackageFixed inAdvisory
SLES 12 SP2 libxslt 1.1.28-16.1 SUSE-SU-2017:1313-1
SLES 12 SP1 libxslt 1.1.28-16.1 SUSE-SU-2017:1313-1
SLES 11 SP4 libxslt 1.1.24-19.33.1 SUSE-SU-2017:1282-1
SLES 11 SP4 libxslt-python 1.1.24-19.33.3 SUSE-SU-2017:1282-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP2 libxslt 1.1.28-16.1 SUSE-SU-2017:1313-1
SLES for SAP 12 SP1 libxslt 1.1.28-16.1 SUSE-SU-2017:1313-1
SLES for SAP 11 SP4 libxslt 1.1.24-19.33.1 SUSE-SU-2017:1282-1
SUSE Package Hub 12 SP2 chromium 57.0.2987.98-8.1 openSUSE-SU-2017:0740-1, openSUSE-SU-2017:0738-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libxslt 1.1.34-3.2 openSUSE-SU-2024:11017-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
ReleasePackageFixed inAdvisory
Alpine v3.24 libxslt 1.1.29-r1 —
Alpine v3.23 libxslt 1.1.29-r1 —
Alpine v3.22 libxslt 1.1.29-r1 —
Alpine v3.21 libxslt 1.1.29-r1 —
Alpine v3.20 libxslt 1.1.29-r1 —
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 libxslt 1.1.29-r1 —
Alpine v3.18 libxslt 1.1.29-r1 —
Alpine v3.17 libxslt 1.1.29-r1 —
Alpine v3.16 libxslt 1.1.29-r1 —
Alpine v3.15 libxslt 1.1.29-r1 —
Alpine v3.14 libxslt 1.1.29-r1 —
Alpine v3.13 libxslt 1.1.29-r1 —
Alpine v3.12 libxslt 1.1.29-r1 —
Alpine v3.11 libxslt 1.1.29-r1 —
Alpine v3.10 libxslt 1.1.29-r1 —
Alpine v3.9 libxslt 1.1.29-r1 —
Alpine v3.8 libxslt 1.1.29-r1 —
Alpine v3.7 libxslt 1.1.29-r1 —
Alpine v3.6 libxslt 1.1.29-r1 —
Alpine v3.5 libxslt 1.1.29-r1 —
Alpine v3.4 libxslt 1.1.29-r1 —
Alpine v3.3 libxslt 1.1.29-r1 —
Alpine v3.2 libxslt 1.1.29-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems nokogiri < 1.7.2 1.7.2 GHSA-pf6m-fxpq-fg8v

Advisories 16

References