Skip to content
OpenAdvisories
High · 8.8 Public exploit CVE-2019-7304 EUVD-2019-16848GHSA-jvm5-cj73-m9qg

Local privilege escalation via snapd socket

Published Apr 23, 2019 · Updated Sep 16, 2024 · Assigned by canonical

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.

Affected products

VendorProductAffectedFixed
Canonical snapd unspecified – < 2.37.1 2.37.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snapd 2.37.1-1 —
Debian 13 snapd 2.37.1-1 —
Debian 12 snapd 2.37.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS snapd 2.34.2+18.04.1 USN-3887-1
Ubuntu 16.04 LTS snapd 2.34.2ubuntu0.1 USN-3887-1
Ubuntu 14.04 LTS snapd 2.34.2~14.04.1 USN-3887-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References