CVE-2017-14064
Publication date 31 August 2017
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| ruby1.9.1 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty |
Fixed 1.9.3.484-2ubuntu1.5
|
|
| ruby2.0 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial | Not in release | |
| 14.04 LTS trusty |
Fixed 2.0.0.484-1ubuntu2.10
|
|
| ruby2.3 | 18.04 LTS bionic | Not in release |
| 16.04 LTS xenial |
Fixed 2.3.1-2~16.04.5
|
|
| 14.04 LTS trusty | Not in release |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity impact | High |
| Availability impact | High |
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-3439-1
- Ruby vulnerabilities
- 5 October 2017
- USN-3685-1
- Ruby vulnerabilities
- 13 June 2018
- USN-3528-1
- Ruby vulnerabilities
- 10 January 2018