cbcvebase.
CVE-2017-14064
published 2017-08-31

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…

PriorityP350critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
9.45%
95.4th percentile
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.

Affected

46 ranges· showing 25
VendorProductVersion rangeFixed in
applemacos_high_sierra_10.13.6_security_update_2018-004_sierra_security_update_2018-0——
applemacos_mojave_10.14.1_security_update_2018-002_high_sierra_security_update_2018-0——
canonicalubuntu_linux——
canonicalubuntu_linux——
canonicalubuntu_linux——
debiandebian_linux——
debiandebian_linux——
redhatenterprise_linux_desktop——
redhatenterprise_linux_server——
redhatenterprise_linux_server_aus——
redhatenterprise_linux_server_aus——
redhatenterprise_linux_server_eus——
redhatenterprise_linux_server_eus——
redhatenterprise_linux_server_eus——
redhatenterprise_linux_server_tus——
redhatenterprise_linux_server_tus——
redhatenterprise_linux_workstation——
ruby-langruby<= 2.2.7—
ruby-langruby——
ruby-langruby——
ruby-langruby——
ruby-langruby——
ruby-langruby——
ruby-langruby——
ruby-langruby——

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.1CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.