snapd will follow archived symlinks when unpacking a filesystem
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · 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 destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.
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-69p6-gp5x-j269 |
- 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-69p6-gp5x-j269
Remediation
- Fix · CNA snapd (Canonical) Fixed in 2.62
- Fix · GHSA-69p6-gp5x-j269 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-19246 snapd non-regular file indefinite blocking readPriority LOW 29
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2024-29069
- 2026-10-03 Alias added: GHSA-69p6-gp5x-j269
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-29069 · CVE Program
- CVE-2024-29069 · NVD
- FIRST EPSS
- GHSA-69p6-gp5x-j269 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-29069 · 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