CVE-2017-14064: canonical ubuntu_linux
Vulnerability summary
CVE-2017-14064 is a critical (CVSS 9.8) vulnerability in canonical ubuntu_linux. EPSS estimates a 9.45% chance of exploitation in the next 30 days, higher than 95.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (reference, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 15 · Related 4Timeline
- 31-08-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability 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
4 scores · 3 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
9.45%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
No change 0.00 pp
From 9.45% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (hackerone.com)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat6 products
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.4 | 7.6
- enterprise_linux_server_eus7.4 | 7.5 | 7.6
- enterprise_linux_server_tus7.4 | 7.6
Ubuntu3 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.5
- ruby2.0< 2.0.0.484-1ubuntu2.10
- ruby2.3< 2.3.1-2~16.04.5
Alpine2 products
- ruby< 2.4.2-r0 | < 2.2.8-r0 | < 2.3.5-r0
- ruby2.2< 2.2.8-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10
Debian1 product
- debian_linuxEOL8.0 | 9.0
Ruby-lang1 product
- rubyEOL≤ 2.2.7 | 2.3.0 | 2.3.0:preview1 | 2.3.0:preview2 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.4.0 | 2.4.0:preview1 | 2.4.0:preview2 | 2.4.0:preview3 | 2.4.0:rc1 | 2.4.1
6 vendors · 14 products
References
23 linksShow all 23 references
- lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing ListX Refsource MLISTThird Party Advisory
- github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85X Refsource MISCIssue TrackingPatchThird Party Advisory