{"id":"CVE-2019-7304","published":"2019-04-23T15:57:32Z","modified":"2024-09-16T18:38:22Z","title":"Local privilege escalation via snapd socket","vendor":"Canonical","product":"snapd","tier":"core","eol":null,"affectedVersions":[{"vendor":"Canonical","product":"snapd","versions":[">= unspecified, < 2.37.1"]}],"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The snapd component of Canonical's snapd package has a flaw in its socket owner validation, present in versions before 2.37.1. An attacker with a local, low-privileged account can exploit it to run arbitrary commands as root, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:12:56Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.61075,"percentile":0.99176,"date":"2026-11-19","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://usn.ubuntu.com/3887-1/","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46361","tags":["x_refsource_MISC"]},{"url":"https://www.exploit-db.com/exploits/46362","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-16848","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-16848","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":46361,"url":"https://www.exploit-db.com/exploits/46361","title":"snapd < 2.37 (Ubuntu) - 'dirty_sock' Local Privilege Escalation (1)","type":"local","platform":"linux","date":"2019-02-13","verified":false,"provenance":"source"},{"id":46362,"url":"https://www.exploit-db.com/exploits/46362","title":"snapd < 2.37 (Ubuntu) - 'dirty_sock' Local Privilege Escalation (2)","type":"local","platform":"linux","date":"2019-02-13","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2019-02-13"},"pocGithub":{"count":5,"skipped":0,"earliest":"2019-02-12","earliestUrl":"https://github.com/initstring/dirty_sock","repos":[{"name":"initstring/dirty_sock","url":"https://github.com/initstring/dirty_sock","stars":681,"created":"2019-02-12"},{"name":"SecuritySi/CVE-2019-7304_DirtySock","url":"https://github.com/SecuritySi/CVE-2019-7304_DirtySock","stars":6,"created":"2019-02-14"},{"name":"elvi7major/snap_priv_esc","url":"https://github.com/elvi7major/snap_priv_esc","stars":1,"created":"2021-03-28"},{"name":"f4T1H21/dirty_sock","url":"https://github.com/f4T1H21/dirty_sock","stars":1,"created":"2021-07-28"},{"name":"Kaine105/Document-Linux-Privilege-Escalation","url":"https://github.com/Kaine105/Document-Linux-Privilege-Escalation","stars":0,"created":"2025-06-11"}]},"first":{"date":"2019-02-12","source":"PoC-in-GitHub","url":"https://github.com/initstring/dirty_sock"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/46361","https://www.exploit-db.com/exploits/46362"],"flow":[],"timeline":[{"date":"2019-02-12","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2019-02-13","url":"https://github.com/initstring/dirty_sock","provenance":"source"},{"date":"2019-04-23","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-7304","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":31.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.84,"detail":"percentile 0.9918"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 Exploit-DB entries; 2 NVD exploit links; 5 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}