{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2017-5029","id":"CVE-2017-5029","title":"Nokogiri implementation of libxslt lacks integer overflow checks","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.","descriptionLong":"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.","published":"2017-04-24T23:00:00.000Z","updated":"2026-06-17T01:19:46.610Z","reserved":"2017-01-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Chrome","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":["Google Chrome prior to 57.0.2987.98 for Mac, Windows and Linux, and 57.0.2987.108 for Android"],"affectedProducts":[{"vendor":"n/a","product":"Google Chrome prior to 57.0.2987.98 for Mac, Windows and Linux, and 57.0.2987.108 for Android","defaultStatus":null,"versions":[{"status":"affected","version":"Google Chrome prior to 57.0.2987.98 for Mac, Windows and Linux, and 57.0.2987.108 for Android"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"nokogiri","purl":"pkg:gem/nokogiri","ranges":["<1.7.2"],"fixed":["1.7.2"],"advisory":"GHSA-pf6m-fxpq-fg8v"}],"cwes":["CWE-787"],"aliases":["GHSA-pf6m-fxpq-fg8v"],"references":[{"url":"https://chromereleases.googleblog.com/2017/03/stable-channel-update-for-desktop.html","tags":["x_refsource_CONFIRM","x_transferred","article"]},{"url":"https://git.gnome.org/browse/libxslt/commit/?id=08ab2774b870de1c7b5a48693df75e8154addae5","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.securitytracker.com/id/1038157","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","web"]},{"url":"https://crbug.com/676623","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://www.debian.org/security/2017/dsa-3810","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/bid/96767","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2017-0499.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5029","tags":["advisory"]},{"url":"https://github.com/sparklemotion/nokogiri/issues/1634","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pf6m-fxpq-fg8v","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-5029.yml","tags":["web"]},{"url":"https://github.com/sparklemotion/nokogiri","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2017-5029","tags":["web"]},{"url":"https://ubuntu.com/security/notices/USN-3271-1","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02528,"epssPercentile":0.85216,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2017-5029","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-5029","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2017-5029","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pf6m-fxpq-fg8v","ok":true,"note":"GHSA-pf6m-fxpq-fg8v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2017-5029","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["chrome","android"],"critical":[],"attention":null}