{"schemaVersion":3,"id":"CVE-2024-1724","aliases":["UBUNTU-CVE-2024-1724","DEBIAN-CVE-2024-1724","GHSA-4mh8-9689-38vr","GO-2024-3007"],"status":"published","duplicateOf":null,"title":null,"description":"In snapd versions prior to 2.62, when using AppArmor for enforcement of\nsandbox permissions, snapd failed to restrict writes to the $HOME/bin\npath. In Ubuntu, when this path exists, it is automatically added to\nthe users PATH. An attacker who could convince a user to install a\nmalicious snap which used the 'home' plug could use this vulnerability\nto install arbitrary scripts into the users PATH which may then be run\nby the user outside of the expected snap sandbox and hence allow them\nto escape confinement.","dates":{"published":"2024-07-25T19:05:23.299Z","modified":"2024-08-01T18:48:21.887Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":3.8,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.3,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","exploitability":5.1,"impact":6.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00306,"percentile":0.21931,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00306},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00306,"percentile":0.21931}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00306,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00306,"percentile":0.21931}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_AFD25CF85F28F010","name":"Exploit Reference (gld.mcphail.uk)","source":"reference","url":"https://gld.mcphail.uk/posts/explaining-cve-2024-1724/","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource","description":"The product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/732.html"}],"affected":[{"vendor":"canonical","product":"snap","name":"snap","label":"snap","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.62","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.62","eol":null,"hubHref":"/vendor/canonical/snap"},{"vendor":"canonical","product":"snapd","name":"snapd","label":"snapd","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.62","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.62","eol":null,"hubHref":"/vendor/canonical/snapd"},{"vendor":"debian","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/snapd","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.62-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.62-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"snapd","name":"snapd","label":"snapd","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/snapd","purlType":"deb","versions":[{"text":"< 2.61.4ubuntu0.16.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.61.4ubuntu0.18.04.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.63+20.04ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.63+22.04ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 2.63+24.04ubuntu0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.61.4ubuntu0.16.04.1+esm1 | < 2.61.4ubuntu0.18.04.1+esm1 | < 2.63+20.04ubuntu0.1 | < 2.63+22.04ubuntu0.1 | < 2.63+24.04ubuntu0.1","eol":null,"hubHref":null},{"vendor":"github.com/snapcore","product":"snapd","name":"github.com/snapcore/snapd","label":"snapd","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/snapcore/snapd","purlType":"golang","versions":[{"text":"< 2.62","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"< 2.62 | All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/snapcore/snapd/commit/aa191f97713de8dc3ce3ac818539f0b976eb8ef6","label":"github.com/snapcore/snapd/commit/aa191f97713de8dc3ce3ac818539f0b976eb8ef6","hostname":"github.com","tags":["WEB","FIX","Patch"]},{"url":"https://gld.mcphail.uk/posts/explaining-cve-2024-1724/","label":"gld.mcphail.uk/posts/explaining-cve-2024-1724/","hostname":"gld.mcphail.uk","tags":["REPORT","Exploit","Technical Description","Third Party Advisory"]},{"url":"https://github.com/snapcore/snapd/pull/13689","label":"github.com/snapcore/snapd/pull/13689","hostname":"github.com","tags":["REPORT","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://ubuntu.com/security/CVE-2024-1724","label":"ubuntu.com/security/CVE-2024-1724","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-1724","label":"www.cve.org/CVERecord?id=CVE-2024-1724","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6940-1","label":"ubuntu.com/security/notices/USN-6940-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-6940-2","label":"ubuntu.com/security/notices/USN-6940-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-1724","label":"security-tracker.debian.org/tracker/CVE-2024-1724","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1724","label":"nvd.nist.gov/vuln/detail/CVE-2024-1724","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/snapcore/snapd","label":"github.com/snapcore/snapd","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://gld.mcphail.uk/posts/explaining-cve-2024-1724","label":"gld.mcphail.uk/posts/explaining-cve-2024-1724","hostname":"gld.mcphail.uk","tags":["WEB"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3007","label":"pkg.go.dev/vuln/GO-2024-3007","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-4mh8-9689-38vr","label":"github.com/advisories/GHSA-4mh8-9689-38vr","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["USN-6940-1","USN-6940-2"],"duplicates":[],"related":["USN-6940-1","USN-6940-2"]},"timeline":[{"kind":"published","date":"2024-07-25T19:05:23.299Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-01T18:48:21.887Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:30:32.402Z","stale":false,"partial":false}}