CVE Database
/

CVE-2017-14064

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.

VendorProductVersions

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
RHSA-2018:0378
vendor-advisory
x_refsource_REDHAT
1042004
vdb-entry
x_refsource_SECTRACK
1039363
vdb-entry
x_refsource_SECTRACK
RHSA-2017:3485
vendor-advisory
x_refsource_REDHAT
RHSA-2018:0583
vendor-advisory
x_refsource_REDHAT
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 Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now