{"schemaVersion":3,"id":"CVE-2024-29068","aliases":["UBUNTU-CVE-2024-29068","DEBIAN-CVE-2024-29068","GHSA-64jh-cjwc-w8q6","GO-2024-3008"],"status":"published","duplicateOf":null,"title":null,"description":"In snapd versions prior to 2.62, snapd failed to properly check the file\ntype when extracting a snap. The snap format is a squashfs file-system\nimage and so can contain files that are non-regular files (such as pipes\nor sockets etc). Various file entries within the snap squashfs image\n(such as icons etc) are directly read by snapd when it is extracted. An\nattacker who could convince a user to install a malicious snap which\ncontained non-regular files at these paths could then cause snapd to block\nindefinitely trying to read from such files and cause a denial of service.","dates":{"published":"2024-07-25T19:28:05.480Z","modified":"2024-08-02T01:03:51.709Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.6,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":3.3,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":3.3,"impact":8.7,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":5.8,"severity":"medium","vector":"CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":5.8,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","exploitability":1.5,"impact":8.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.6,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00212,"percentile":0.10799,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00212},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00212,"percentile":0.10799}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00212,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00212,"percentile":0.10799}]},"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":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"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":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063","label":"github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063","hostname":"github.com","tags":["WEB","FIX","Patch"]},{"url":"https://github.com/snapcore/snapd/pull/13682","label":"github.com/snapcore/snapd/pull/13682","hostname":"github.com","tags":["REPORT","WEB","FIX","Issue Tracking","Patch"]},{"url":"https://ubuntu.com/security/CVE-2024-29068","label":"ubuntu.com/security/CVE-2024-29068","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-29068","label":"www.cve.org/CVERecord?id=CVE-2024-29068","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-29068","label":"security-tracker.debian.org/tracker/CVE-2024-29068","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29068","label":"nvd.nist.gov/vuln/detail/CVE-2024-29068","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/snapcore/snapd","label":"github.com/snapcore/snapd","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3008","label":"pkg.go.dev/vuln/GO-2024-3008","hostname":"pkg.go.dev","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-64jh-cjwc-w8q6","label":"github.com/advisories/GHSA-64jh-cjwc-w8q6","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:28:05.480Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T01:03:51.709Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:18:47.035Z","stale":false,"partial":false}}