Back to search
CVE-2017-14064
Published: Aug 31, 2017
Modified: Aug 5, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
USN-3685-1
vendor-advisory
x_refsource_UBUNTU
RHSA-2018:0585
vendor-advisory
x_refsource_REDHAT
DSA-3966
vendor-advisory
x_refsource_DEBIAN
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
x_refsource_CONFIRM
RHSA-2018:0378
vendor-advisory
x_refsource_REDHAT
https://hackerone.com/reports/209949
x_refsource_MISC
1042004
vdb-entry
x_refsource_SECTRACK
https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
x_refsource_CONFIRM
1039363
vdb-entry
x_refsource_SECTRACK
RHSA-2017:3485
vendor-advisory
x_refsource_REDHAT
[debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update
mailing-list
x_refsource_MLIST
RHSA-2018:0583
vendor-advisory
x_refsource_REDHAT
https://bugs.ruby-lang.org/issues/13853
x_refsource_MISC
100890
vdb-entry
x_refsource_BID
GLSA-201710-18
vendor-advisory
x_refsource_GENTOO
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now