VDB
CVE-2017-14064
CVE-2017-14064
PUBLISHED
Reported by mitre · Published August 31, 2017
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.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| alpine | ruby | 0, 0, 0 |
| alpine | ruby2.2 | 0 |
Timeline
- Aug 31, 2017 CVE Published
- Sep 25, 2017 PoC Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 5, 2026 Distribution Patch (14 in total, the first dated here)
- Mar 5, 2026 Security Advisory (14 in total, the first dated here)
- Oct 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-14064
vulnetix vdb fixes CVE-2017-14064
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-14064/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3685-1 vendor-advisoryx_refsource_UBUNTU
- RHSA-2018:0585 vendor-advisoryx_refsource_REDHAT
- DSA-3966 vendor-advisoryx_refsource_DEBIAN
- x_refsource_CONFIRM
- RHSA-2018:0378 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- 1042004 vdb-entryx_refsource_SECTRACK
- x_refsource_CONFIRM
- 1039363 vdb-entryx_refsource_SECTRACK
- RHSA-2017:3485 vendor-advisoryx_refsource_REDHAT
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update mailing-listx_refsource_MLIST
- RHSA-2018:0583 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- x_refsource_MISC
- 100890 vdb-entryx_refsource_BID
- GLSA-201710-18 vendor-advisoryx_refsource_GENTOO