CVE-2017-14064
Critical
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.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Ruby
PublishedAug 31, 2017
First seenAug 31, 2017
How to fix
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | v ≤ 2.2.7, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1 | — |
| debian debian_linux | 8.0, 9.0 | — |
| canonical ubuntu_linux | 14.04, 16.04, 17.10 | — |
| redhat enterprise_linux_desktop | 7.0 | — |
| redhat enterprise_linux_server | 7.0 | — |
| redhat enterprise_linux_server_aus | 7.4, 7.6 | — |
| redhat enterprise_linux_server_eus | 7.4, 7.5, 7.6 | — |
| redhat enterprise_linux_server_tus | 7.4, 7.6 | — |
| redhat enterprise_linux_workstation | 7.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.