CVE-2019-7304 Local privilege escalation via snapd socket

High 8.8 Published Updated

An attacker can exploit snapd socket validation flaws to execute arbitrary commands as root, leading to local privilege escalation on Linux systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2019-7304?

CVE-2019-7304 is a high-severity vulnerability in Canonical Ubuntu Linux, published on 23 Apr 2019. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Canonical snapd before version 2.37.1 incorrectly performed socket owner validation, allowing an attacker to run arbitrary commands as root. This issue affects: Canonical snapd versions prior to 2.37.1.

Weakness: CWE-863

Which versions are affected by CVE-2019-7304?

It affects 2 products.

Products include Canonical Snapd, Canonical Ubuntu Linux.

How do I fix CVE-2019-7304?

Upgrade to a fixed version.

Is CVE-2019-7304 being exploited?

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

Public exploit code: 2 Exploit-DB entries and 5 proofs of concept on GitHub.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-7304, GHSA-jvm5-cj73-m9qg, UBUNTU-CVE-2019-7304, USN-3887-1.

Is CVE-2019-7304 in your software?

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

Check your SBOMs for free