CVE-2024-29069
HIGH 7.3CVSS 3.1snapd failed to properly check the destination of symbolic links when extracting a snap
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.
- Published
- 25 Jul 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Modified
- Weakness
- CWE-59CWE-610
- Also known as
- GHSA-69p6-gp5x-j269GO-2024-3009
- Sources
- NVDJSONOSV GHSA-69p6-gp5x-j269JSONOSV GO-2024-3009JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | canonical | snapdcpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* |
< 2.62 | 2.62 |
| OSV | Go | github.com/snapcore/snapd | < 2.62 | 2.62 |
| OSV | Go | github.com/snapcore/snapd | all versions |
References
- https://github.com/snapcore/snapd/pull/13682 · Issue Tracking, Patch, WEB, FIX
- https://nvd.nist.gov/vuln/detail/CVE-2024-29069 · ADVISORY
- https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063 · WEB, FIX
- https://github.com/snapcore/snapd · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-3009 · WEB
- https://github.com/advisories/GHSA-69p6-gp5x-j269 · ADVISORY
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 25 Jul 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 6 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jul 2024)