CVE-2017-14064 Information disclosure in n/a
An attacker can trigger arbitrary memory exposure during JSON generation in Ruby, potentially leaking sensitive data from memory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-14064?
CVE-2017-14064 is a critical vulnerability in Canonical Ubuntu Linux, published on 31 Aug 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2017-14064?
It affects 9 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Server Aus, Redhat Enterprise Linux Server Eus and 3 more.
How do I fix CVE-2017-14064?
Upgrade to a fixed version.
Is CVE-2017-14064 being exploited?
There is no known exploitation of CVE-2017-14064 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2017-14064, CLEANSTART-2026-DS52341, GHSA-954h-8gv7-2q75, UBUNTU-CVE-2017-14064.