VDB

ALPINE-CVE-2017-14064

ALPINE-CVE-2017-14064 PUBLISHED CVSS 9.800000190734863 CRITICAL

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.

Risk Scores

CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Products

VendorProductVersions
Alpine:v3.12ruby2.0.0, 2.1.5-r0, 2.1.5-r1
Alpine:v3.10ruby1.8.7_p160-r3, 0, 0
Alpine:v3.23ruby0, 0, 0
Alpine:v3.11ruby*, 0, 1.8.7
Alpine:v3.4ruby1.8.7_p352-r2, 1.8.7_p352-r1, 1.8.7_p299-r2
Alpine:v3.6ruby2.0.0_p353-r2, 1.8.7_p160-r3, 1.8.7_p174-r0
Alpine:v3.7ruby2.2.4-r0, *, 0
Alpine:v3.22ruby0
Alpine:v3.18ruby1.8.7_p160-r3, 0, 0
Alpine:v3.20ruby0, 0, 0
Alpine:v3.13ruby2.0.0, 2.0.0, 2.0.0
Alpine:v3.5ruby0, 0, 0
Alpine:v3.19ruby2.4.1-r4, 2.0.0, 2.0.0
Alpine:v3.8ruby2.0.0, 0, 1.8.7_p160-r3
Alpine:v3.9ruby2.4.1-r5, 2.4.1-r3, 2.4.1-r2
Alpine:v3.24ruby0, 0, 0
Alpine:v3.15ruby2.2.3-r0, 0, 0
Alpine:v3.14ruby2.4.1-r1, 0, 0
Alpine:v3.21ruby0, 0, 0
Alpine:v3.17ruby2.4.1-r3, 2.4.1-r4, 2.4.1-r5

…and 2 more

Timeline

  • Aug 31, 2017 CVE Published
  • Jun 15, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 50/day Open console ›