CVE catalog

CVE-2017-14064

UBUNTU-CVE-2017-14064

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
9.45% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Alpineruby3.102.4.2-r0fixed
Alpineruby3.112.4.2-r0fixed
Alpineruby3.122.4.2-r0fixed
Alpineruby3.132.4.2-r0fixed
Alpineruby3.142.4.2-r0fixed
Alpineruby3.152.4.2-r0fixed
Alpineruby3.162.4.2-r0fixed
Alpineruby3.172.4.2-r0fixed
Alpineruby3.182.4.2-r0fixed
Alpineruby3.192.4.2-r0fixed
Alpineruby3.202.4.2-r0fixed
Alpineruby3.212.4.2-r0fixed
Alpineruby3.222.4.2-r0fixed
Alpineruby3.232.4.2-r0fixed
Alpineruby3.242.4.2-r0fixed
Alpineruby3.32.2.8-r0fixed
Alpineruby3.42.3.5-r0fixed
Alpineruby3.52.3.5-r0fixed
Alpineruby3.62.4.2-r0fixed
Alpineruby3.72.4.2-r0fixed
Alpineruby3.82.4.2-r0fixed
Alpineruby3.92.4.2-r0fixed
Ubunturuby1.9.114.041.9.3.194-8.1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.448-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-1ubuntu2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.1vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.2vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.3vulnerable
Ubunturuby1.9.114.041.9.3.484-2ubuntu1.5fixed
Ubunturuby2.014.042.0.0.299-2vulnerable
Ubunturuby2.014.042.0.0.343-1vulnerable
Ubunturuby2.014.042.0.0.343-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.353-1vulnerable
Ubunturuby2.014.042.0.0.353-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.1vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.2vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.4vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.5vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.6vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.8vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.9vulnerable
Ubunturuby2.014.042.0.0.484-1ubuntu2.10fixed
Ubunturuby2.316.042.3.0-1vulnerable
Ubunturuby2.316.042.3.0-2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu2vulnerable
Ubunturuby2.316.042.3.0-4ubuntu3vulnerable
Ubunturuby2.316.042.3.0-5ubuntu1vulnerable
Ubunturuby2.316.042.3.1-2~16.04vulnerable
Ubunturuby2.316.042.3.1-2~16.04.2vulnerable
Ubunturuby2.316.042.3.1-2~16.04.4vulnerable
Ubunturuby2.316.042.3.1-2~16.04.5fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Alpinerubyapk3.102.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.112.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.122.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.132.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.142.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.152.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.162.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.172.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.182.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.192.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.202.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.212.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.222.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.232.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.242.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.32.2.8-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.42.3.5-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.52.3.5-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.62.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.72.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.82.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Alpinerubyapk3.92.4.2-r0Not reportedALPINE-CVE-2017-14064Not reported
Ubunturuby1.9.1deb14.041.9.3.484-2ubuntu1.5Not reportedUBUNTU-CVE-2017-14064Not reported
Ubunturuby2.0deb14.042.0.0.484-1ubuntu2.10Not reportedUBUNTU-CVE-2017-14064Not reported
Ubunturuby2.3deb16.042.3.1-2~16.04.5Not reportedUBUNTU-CVE-2017-14064Not reported

OpenFactory catalog packages

No matching packages in this catalog.

Observed:

References