CVE-2024-29069: snapd will follow archived symlinks when unpacking a filesystem
Vulnerability summary
CVE-2024-29069 is a high (CVSS 7.3) vulnerability in canonical snapd. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.4% of scored vulnerabilities.
Not severe (CVSS 4.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 25-07-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- CVE.orgCNA4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.3HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
14%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.23% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-610Externally Controlled Reference to a Resource in Another SphereThe product uses an externally controlled name or reference that resolves to a resource that is outside of the intended control sphere.
- CWE-59Improper Link Resolution Before File AccessThe product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Canonical1 product
- snapd< 2.62
Debian1 product
- snapdAll versions (No fix recorded) | < 2.62-1
Github.com/snapcore1 product
- snapd< 2.62 | All versions (No fix recorded)
Ubuntu1 product
- snapd< 2.61.4ubuntu0.16.04.1+esm1 | < 2.61.4ubuntu0.18.04.1+esm1 | < 2.63+20.04ubuntu0.1 | < 2.63+22.04ubuntu0.1 | < 2.63+24.04ubuntu0.1
4 vendors · 4 products
References
11 links- github.com/snapcore/snapdPACKAGE