CVE-2018-8778 Information disclosure in n/a
An attacker can trigger a buffer under-read in Ruby's String#unpack method to disclose sensitive memory contents.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-8778?
CVE-2018-8778 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 3 Apr 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Ruby before 2.2.10, 2.3.x before 2.3.7, 2.4.x before 2.4.4, 2.5.x before 2.5.1, and 2.6.0-preview1, an attacker controlling the unpacking format (similar to format string vulnerabilities) can trigger a buffer under-read in the String#unpack method, resulting in a massive and controlled information disclosure.
Weakness: CWE-134
Which versions are affected by CVE-2018-8778?
It affects 4 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Redhat Enterprise Linux, Ruby-Lang Ruby.
How do I fix CVE-2018-8778?
Upgrade to a fixed version.
Is CVE-2018-8778 being exploited?
There is no known exploitation of CVE-2018-8778 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-8778, CLEANSTART-2026-MJ93235, GHSA-wvhq-ch4h-8pwr, UBUNTU-CVE-2018-8778.