CVE-2018-8779 Other in n/a

High 7.5 Published Updated

Ruby's UNIX socket methods fail to validate null characters, potentially allowing connections to unintended sockets.

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-8779?

CVE-2018-8779 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, the UNIXServer.open and UNIXSocket.open methods are not checked for null characters. It may be connected to an unintended socket.

Weakness: CWE-20

Which versions are affected by CVE-2018-8779?

It affects 3 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Ruby-Lang Ruby.

How do I fix CVE-2018-8779?

Upgrade to a fixed version.

Is CVE-2018-8779 being exploited?

There is no known exploitation of CVE-2018-8779 in the wild and no public exploit code.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2018-8779, CLEANSTART-2026-HZ39682, GHSA-mwq4-948j-88c5, UBUNTU-CVE-2018-8779.

Is CVE-2018-8779 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free