CVE-2024-29068
mediumpriority · track · 26EPSS 0.002 · 11 %ileDEEURUUSEPSS · scored 2026-10-27
In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. The snap format is a squashfs file-system image and so can contain files that are non-regular files (such as pipes or sockets etc). Various file entries within the snap squashfs image (such as icons etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained non-regular files at these paths could then cause snapd to block indefinitely trying to read from such files and cause a denial of service.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-1712Canonical Snap: Mehrere SchwachstellenDeutsch2024-07-25csaf · cert_bundDE
Ein lokaler Angreifer kann mehrere Schwachstellen in Canonical Snap ausnutzen, um Sicherheitsvorkehrungen zu umgehen, um Informationen offenzulegen und um einen Denial of Service Zustand herbeizuführen.
- GHSA-64jh-cjwc-w8q6snapd failed to properly check the file type when extracting a snap2024-07-25ghsa · osvUS
In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. The snap format is a squashfs file-system image and so can contain files that are non-regular files (such as pipes or sockets etc). Various file entries within the snap squashfs image (such as icons etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained non-regular files at these paths could then cause snapd to block indefinitely trying to read from such files and cause a denial of service.
- GO-2024-3008snapd failed to properly check the file type when extracting a snap in github.com/snapcore/snapd2024-08-06vendor · osvUS
snapd failed to properly check the file type when extracting a snap in github.com/snapcore/snapd. NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions. (If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.) The additional affected modules and versions are: github.com/snapcore/snapd before v2.62.0.
also known as (6)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-29068/cnnvd
- https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063cnnvd
- https://github.com/snapcore/snapd/pull/13682cnnvd
- https://github.com/snapcore/snapd/releases/tag/2.63Patchcnnvd
- https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063enisa_euvd
- https://github.com/snapcore/snapd/pull/13682enisa_euvd
- https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063Patchnvd
- https://github.com/snapcore/snapd/pull/13682Issue TrackingPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan