CVE-2024-29068
snapd non-regular file indefinite blocking read
Reported by canonical · Published July 25, 2024
github.com/snapcore/snapd is fixed in 2.62 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/snapcore/snapd | Go Modules | 2.62 |
| snapd | canonical | 2.62 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Canonical | snapd | 0 |
| github.com | snapcore/snapd | 0 |
| Canonical | snapd | 0 |
Timeline
- Jul 25, 2024 CVE Published
- Jul 25, 2024 PoC Published
- Jul 26, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
- Jan 14, 2026 CVE Updated
- Mar 27, 2026 Security Advisory (5 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-29068
vulnetix vdb fixes CVE-2024-29068
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-29068/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart