CVE-2017-14064
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.
Published:Mar 2, 2017
Last Modified:Apr 20, 2025
EPS:Aug 31, 2017
EPSS Score:0.01786
CVSS Score:9.8
Affected Products
Vendor
Product
Action
Vendor
Canonical
Product
Ubuntu Linux
Canonical
Ubuntu Linux
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Redhat
Product
Enterprise Linux
Redhat
Enterprise Linux
Vendor
Redhat
Product
Enterprise Linux Desktop
Redhat
Enterprise Linux Desktop
Vendor
Redhat
Product
Enterprise Linux Server
Redhat
Enterprise Linux Server
Vendor
Redhat
Product
Enterprise Linux Server Aus
Redhat
Enterprise Linux Server Aus
Vendor
Redhat
Product
Enterprise Linux Server Eus
Redhat
Enterprise Linux Server Eus
Vendor
Redhat
Product
Enterprise Linux Server Tus
Redhat
Enterprise Linux Server Tus
Vendor
Redhat
Product
Enterprise Linux Workstation
Redhat
Enterprise Linux Workstation
Vendor
Redhat
Product
Rhel Software Collections
Redhat
Rhel Software Collections
Vendor
Ruby-lang
Product
Ruby
Ruby-lang
Ruby
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
