CVE-2024-29068 snapd non-regular file indefinite blocking read
MediumCVSS 6.6
EPSS 0.21%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| snapcore github.com/snapcore/snapd(Go) | < 2.62 | 2.62 |
| snapcore github.com/snapcore/snapd(Go) | All versions | No fix listed |
| debian/snapd(Debian:12) | All versions | No fix listed |
| debian/snapd(Debian:12) | = 2.57.6-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.57.6-1+deb12u1 | No fix listed |
| debian/snapd(Debian:12) | = 2.59.5-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.60.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.61.2-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.62-5 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.63-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.65.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.65.3-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.66.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.66.1-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.67-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.68.3-2 | No fix listed |
Show 20 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/snapd(Debian:12) | = 2.68.3-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.71-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.71-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.71-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.72-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.73-3 | No fix listed |
| debian/snapd(Debian:12) | = 2.73-4 | No fix listed |
| debian/snapd(Debian:12) | = 2.74.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.75.2-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.75.2-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.76-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.76.3-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.76.3-2 | No fix listed |
| debian/snapd(Debian:12) | = 2.77.1-1 | No fix listed |
| debian/snapd(Debian:12) | = 2.77.1-2 | No fix listed |
| debian/snapd(Debian:13) | < 2.62-1 | 2.62-1 |
| debian/snapd(Debian:14) | < 2.62-1 | 2.62-1 |
| ubuntu/snapd(Ubuntu:22.04) | < 2.63+22.04ubuntu0.1 | 2.63+22.04ubuntu0.1 |
| Canonical snapd | < 2.62 | 2.62 |
| ubuntu/snapd(Ubuntu:24.04) | < 2.63+24.04ubuntu0.1 | 2.63+24.04ubuntu0.1 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com issue-tracking patch
- github.com patch
- github.com product
- pkg.go.dev
- github.com vendor-advisory
- Debian Security Tracker CVE-2024-29068 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-6940-1 vendor-advisory
- USN-6940-2 vendor-advisory
- www.cve.org