{"id":"CVE-2024-29068","published":"2024-07-25T19:28:05Z","modified":"2024-08-02T01:03:51Z","title":"snapd non-regular file indefinite blocking read","vendor":"Canonical","product":"snapd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00212,"percentile":0.11649,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063","tags":[]},{"url":"https://github.com/snapcore/snapd/pull/13682","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":2.33},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"snapd","versions":["< 2.62"]}],"capec":[{"id":"CAPEC-586","name":"Object Injection"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-07-25T20:21:23.846363Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/snapcore/snapd","vulnerableRanges":["<2.62","all versions"],"patched":["2.62"],"from":["GHSA-64jh-cjwc-w8q6","GO-2024-3008"],"provenance":"source"}],"summary":{"text":"The snapd package from Canonical, prior to version 2.62, fails to check file types when extracting a snap, so the squashfs image can contain non-regular files (such as pipes or sockets) at paths that snapd reads directly, such as icons. An attacker with local access who can get a user to install a malicious snap containing such files, and who holds high privileges with user interaction required, can make snapd block indefinitely on those reads, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:02Z"},"euvd":{"id":"EUVD-2024-2275","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-3328","published":"2024-01-08","fixed":"2.57.6","kev":false,"link":{"from":"CVE-2022-3328","to":"CVE-2024-29068","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/snapcore/snapd","fromFixed":"2.57.6","toFixed":"2.62","daysApart":199}]}},{"cve":"CVE-2024-1724","published":"2024-07-25","fixed":"2.62","kev":false},{"cve":"CVE-2024-29068","published":"2024-07-25","fixed":"2.62","kev":false},{"cve":"CVE-2024-29069","published":"2024-07-25","fixed":"2.62","kev":false},{"cve":"CVE-2024-5138","published":"2024-05-31","fixed":"2.63.1","kev":false}],"package":"Go:github.com/snapcore/snapd"}}