CVE-2017-14064
high-risk
Published 2017-08-31
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.
Do I need to act?
~
1.2% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
?
Patch status unknown
Check vendor advisories for fix availability and mitigation guidance
9
CVSS 9.8/10
Critical
NETWORK
/ LOW complexity
Affected Products (20)
References (32)
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
Third Party Advisory
https://access.redhat.com/errata/RHSA-2018:0585
Issue Tracking
https://bugs.ruby-lang.org/issues/13853
Third Party Advisory
https://security.gentoo.org/glsa/201710-18
Third Party Advisory
https://usn.ubuntu.com/3685-1/
Third Party Advisory
https://www.debian.org/security/2017/dsa-3966
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
and 12 more references
58
/ 100
high-risk
Severity
32/34 · Critical
Exploitability
4/34 · Minimal
Exposure
22/34 · High