cvedb.io
CVE-2017-14064
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2017-08-31T17:29:00.183 · Last modified 2026-06-17T01:05:31.837

Summary

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 products

ruby-lang — ruby

Does this affect you?

Add your gear to cvedb and we'll alert you only when ruby-lang ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.