high8.8
CVE-2017-5029
Nokogiri implementation of libxslt lacks integer overflow checks
Impact
The xsltAddTextString function in transform.c in libxslt 1.1.29, as used in Nokogiri prior to 1.7.2, 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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | nokogiri | < 1.7.2 | 1.7.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Chrome | through 57.0.2987.75 through 57.0.2987.100 | |
| Xmlsoft | Libxslt | Version 1.1.29 |
| Debian | Debian Linux | Versions 8.0, 9.0 |
| Redhat | Enterprise Linux Desktop | Version 6.0 |
| Redhat | Enterprise Linux Server | Version 6.0 |
| Redhat | Enterprise Linux Workstation | Version 6.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- http://rhn.redhat.com/errata/RHSA-2017-0499.html
- http://www.debian.org/security/2017/dsa-3810
- http://www.securityfocus.com/bid/96767
- http://www.securitytracker.com/id/1038157
- https://chromereleases.googleblog.com/2017/03/stable-channel-update-for-desktop.html
- https://crbug.com/676623
- https://git.gnome.org/browse/libxslt/commit/?id=08ab2774b870de1c7b5a48693df75e8154addae5
- https://github.com/advisories/GHSA-pf6m-fxpq-fg8v
- https://nvd.nist.gov/vuln/detail/CVE-2017-5029
- https://github.com/sparklemotion/nokogiri/issues/1634
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-5029.yml
- https://ubuntu.com/security/CVE-2017-5029
- https://ubuntu.com/security/notices/USN-3271-1