← Back to CVE List

CVE-2017-14064

Published: 2017-08-31T17:29Z
Last Modified: 2024-11-21T03:12Z
Source: MITRE CVE List
License: MITRE-CVE-TOS
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. > MITRE Terms of Use apply – see LICENSE‑MITRE.txt