snapd non-regular file indefinite blocking read
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | snapd | before 2.62 | 2.62 | Patch available | CNA |
| — | github.com/snapcore/snapd (Go) | before 2.62 | 2.62 | Patch available | GHSA-64jh-cjwc-w8q6 |
- snapd VendorCanonical Affected before 2.62 Fixed in 2.62 Patch available CNA
- github.com/snapcore/snapd (Go) Vendor— Affected before 2.62 Fixed in 2.62 Patch available GHSA-64jh-cjwc-w8q6
Remediation
- Fix · CNA snapd (Canonical) Fixed in 2.62
- Fix · GHSA-64jh-cjwc-w8q6 github.com/snapcore/snapd (Go) Fixed in 2.62 Advisory →
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Canonical snapd 2.62
2 records Highest priority Priority LOW 2 LOW
Other records, highest priority first
- TI-2024-19247 snapd will follow archived symlinks when unpacking a filesystemPriority LOW 31
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29068
- 2026-10-03 Alias added: GHSA-64jh-cjwc-w8q6
References
More Canonical Snapd vulnerabilities
- TI-2023-01437 Injection in Canonical snapd CVSS 3.1CRITICAL 10.0
- TI-2019-05192 Local privilege escalation via snapd socket CVSS 3.1CRITICAL 9.8
- TI-2024-01603 snapd allows $HOME/bin symlink CVSS 3.1HIGH 8.2
- TI-2024-04773 Improper input validation in Canonical snapd CVSS 3.1HIGH 8.1
- TI-2020-16634 Improper privilege management in Canonical snapd CVSS 3.1CRITICAL 9.3
- TI-2019-05191 Snapd seccomp filter TIOCSTI ioctl bypass CVSS 3.1HIGH 7.5
Sources
- CVE-2024-29068 · CVE Program
- CVE-2024-29068 · NVD
- FIRST EPSS
- GHSA-64jh-cjwc-w8q6 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-29068 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences