CVE-2018-1118 Information disclosure in vhost

Low 2.3 Published Updated

Local privileged users can read kernel memory contents via the vhost-net device due to improper memory initialization in the Linux kernel.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-1118?

CVE-2018-1118 is a low-severity vulnerability in Canonical Ubuntu Linux, published on 10 May 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Linux kernel vhost since version 4.8 does not properly initialize memory in messages passed between virtual guests and the host operating system in the vhost/vhost.c:vhost_new_msg() function. This can allow local privileged users to read some kernel memory contents when reading from the /dev/vhost-net device file.

Weakness: CWE-200, CWE-665

Which versions are affected by CVE-2018-1118?

It affects 7 products.

Products include Canonical Ubuntu Linux, Debian Debian Linux, Linux kernel, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation and 1 more.

How do I fix CVE-2018-1118?

Apply the vendor's patch.

Is CVE-2018-1118 being exploited?

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

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-1118, GHSA-h6c2-frm7-53hm, UBUNTU-CVE-2018-1118.

Is CVE-2018-1118 in your software?

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

Check your SBOMs for free