CVE-2017-5029
Nokogiri implementation of libxslt lacks integer overflow checks
Reported by chrome · Published April 24, 2017
nokogiri is fixed in 1.7.1 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| nokogiri | RubyGems | 1.7.1 |
| libxslt | Alpine | 1.1.29-r1 |
| libxslt | Arch Linux | 1.1.29+41+gdf5330d1-1 |
| oxide-qt | Ubuntu:14.04:LTS | 1.21.5-0ubuntu0.14.04.1 |
| libxslt | Ubuntu:16.04:LTS | 1.1.28-2.1ubuntu0.1 |
| chrome | 57.0.2987.100, 57.0.2987.75 | |
| chromium-browser | Ubuntu:16.04:LTS | 57.0.2987.98-0ubuntu0.16.04.1276 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | 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 |
| alpine | libxslt | 0 |
| libxslt | ||
| arch | libxslt | 0 |
| RubyGems | nokogiri | 0 |
| n/a | 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 |
| arch | chromium | 0 |
Timeline
- Mar 10, 2017 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 20, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (7 in total, the first dated here)
- Sep 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-5029
vulnetix vdb fixes CVE-2017-5029
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-5029/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 1038157 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- DSA-3810 vendor-advisoryx_refsource_DEBIAN
- 96767 vdb-entryx_refsource_BID
- RHSA-2017:0499 vendor-advisoryx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2017-5029 advisory
- https://github.com/sparklemotion/nokogiri/issues/1634 url