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.4.1-r2, 0, 1.8.7_p160-r2
Alpine:v3.10ruby*, 0, 0
Alpine:v3.23ruby0, 0, 0
Alpine:v3.11ruby2.4.1-r1, 0, 0
Alpine:v3.4ruby0, 2.3.1-r0, 2.2.4-r0
Alpine:v3.6ruby2.3.1-r1, 2.3.3-r3, 2.4.0-r3
Alpine:v3.7ruby1.8.7, 1.8.7, 1.8.7
Alpine:v3.22ruby0, 0, 0
Alpine:v3.18ruby0, 1.8.7_p160-r2, 1.8.7_p174-r0
Alpine:v3.20ruby0, 0, 0
Alpine:v3.13ruby2.3.2-r0, 2.3.3-r0, 2.3.3-r1
Alpine:v3.5ruby1.9.3_p286-r2, 0, 0
Alpine:v3.19ruby1.8.7_p160-r2, 1.8.7_p160-r3, 1.8.7_p174-r2
Alpine:v3.8ruby2.2.4-r0, 0, 0
Alpine:v3.9ruby*, *, 2.3.1-r2
Alpine:v3.24ruby0, 0
Alpine:v3.15ruby*, 1.8.7_p352-r1, 1.8.7_p358-r1
Alpine:v3.14ruby1.9.3, 1.9.3, 1.9.3
Alpine:v3.21ruby0, 0, 0
Alpine:v3.17ruby*, 1.8.7_p358-r1, 1.9.3_p194-r0

…and 2 more

Timeline

  • Aug 31, 2017 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›