ALPINE-CVE-2017-14064

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 31 Aug 2017, 17:29
Last modified:03 Dec 2025, 22:37

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
3.0 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

31 Aug 2017, 17:29
Published
Vulnerability first disclosed
03 Dec 2025, 22:37
Last Modified
Vulnerability information updated

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.

CVSS Metrics

  • v3.0CRITICALScore: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Systems

  • alpineruby

    < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.2.8-r0 | < 2.3.5-r0 | < 2.3.5-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0 | < 2.4.2-r0

References (1)