UBUNTU-CVE-2017-14064
Dashboard / Vulnerabilities / UBUNTU-CVE-2017-14064
UBUNTU-CVE-2017-14064
Summary:
Details: Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call. The issues lies in using strdup in ext/json/ext/generator/generator.c, which will stop after encountering a '\0' byte, returning a pointer to a string of length zero, which is not the length stored in space_len.
References: https://ubuntu.com/security/CVE-2017-14064, https://www.ruby-lang.org/en/news/2017/09/14/json-heap-exposure-cve-2017-14064/, https://hackerone.com/reports/209949, https://ubuntu.com/security/notices/USN-3439-1, https://ubuntu.com/security/notices/USN-3528-1, https://ubuntu.com/security/notices/USN-3685-1, https://www.cve.org/CVERecord?id=CVE-2017-14064
Affected packages
Package
Name: ruby1.9.1
Purl: pkg:deb/ubuntu/[email protected]?arch=source&distro=trusty
Affected ranges
Type: ECOSYSTEM
Events:
