CVE-2019-7304 in Canonical Ubuntu Linux and 1 more product
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.
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 18.04 18.10 |
| Canonical | Snapd | < 2.37.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2019-7304 |
|---|---|
| BreachSpider ID | BS-2019-GLOBAL-230144-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2019-04-23 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Analysis AI-written, not human-reviewed
Canonical snapd before version 2.37.1 has a vulnerability that allows an attacker to run arbitrary commands as root due to incorrect socket owner validation.
An attacker can exploit this vulnerability by manipulating the socket owner validation process, which can lead to privilege escalation and execution of arbitrary commands with root privileges.
Questions
What is CVE-2019-7304?
Canonical snapd before version 2.37.1 has a vulnerability that allows an attacker to run arbitrary commands as root due to incorrect socket owner validation.
What is the CVSS score for CVE-2019-7304?
CVE-2019-7304 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 61.1%.
Is CVE-2019-7304 actively exploited?
Public exploit available for CVE-2019-7304. Exploitation risk elevated.
How do I remediate CVE-2019-7304?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2019-7304?
CVE-2019-7304 affects Canonical Ubuntu Linux, Snapd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.