CVE-2017-14064
- State
- Published
- Severity
- Not scored
- Published
- Aug 31, 2017
- Updated
- Aug 5, 2024
- Reserved
- Aug 31, 2017
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- USN-3685-1vendor-advisory
- RHSA-2018:0585vendor-advisory
- DSA-3966vendor-advisory
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-3-5-released/
- RHSA-2018:0378vendor-advisory
- https://hackerone.com/reports/209949
- 1042004vdb-entry
- https://www.ruby-lang.org/en/news/2017/09/14/ruby-2-2-8-released/
- 1039363vdb-entry
- RHSA-2017:3485vendor-advisory
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security updatemailing-list
- RHSA-2018:0583vendor-advisory
- https://bugs.ruby-lang.org/issues/13853
- https://github.com/flori/json/commit/8f782fd8e181d9cfe9387ded43a5ca9692266b85
- 100890vdb-entry
- GLSA-201710-18vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.