Critical severity · published Aug 31, 2017
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
9.8
CVSS
9.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)9.4% · higher than 95% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DL
Debian Linux · Debian
8.0; 9.0 · source: NVD
EL
Enterprise Linux Desktop · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server · Redhat
7.0 · source: NVD
EL
Enterprise Linux Server Aus · Redhat
7.4; 7.6 · source: NVD
EL
Enterprise Linux Server Eus · Redhat
7.4; 7.5; 7.6 · source: NVD
EL
Enterprise Linux Server Tus · Redhat
7.4; 7.6 · source: NVD
EL
Enterprise Linux Workstation · Redhat
7.0 · source: NVD
RU
Ruby · Ruby-lang
through 2.2.7; 2.3.0; 2.3.0; 2.3.0; 2.3.1; 2.3.2; +8 more · source: NVD
UL
Ubuntu Linux · Canonical
14.04; 16.04; 17.10 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2017-14064
CVE.org
https://www.cve.org/CVERecord?id=CVE-2017-14064
Third Party Advisory
http://www.securityfocus.com/bid/100890
Third Party Advisory
http://www.securitytracker.com/id/1039363
Third Party Advisory
http://www.securitytracker.com/id/1042004
Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:3485
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0378
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0583
More from Ubuntu Linux
9.8
CVE-2020-11651
SaltStack Salt Authentication Bypass Vulnerability
9.8
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
9.8
CVE-2019-11043
Underflow in PHP-FPM can lead to RCE
9.8
CVE-2019-16928
Exim Out-of-bounds Write Vulnerability
9.8
CVE-2019-10149
Exim Mail Transfer Agent (MTA) Improper Input Validation
