CVE-2024-29069
published medium CVSS 3.1 · 4.8snapd will follow archived symlinks when unpacking a filesystem
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | snapd0 to < 2.62 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Ubuntu | bionic | snapd | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | focal | snapd | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | snapd | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | snapd | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | xenial | snapd | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | golang-github-snapcore-snapd-dev | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
Show 38 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | bionic | snap-confine | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | snapd-xdg-open | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | ubuntu-core-launcher | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | ubuntu-core-snapd-units | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | ubuntu-snappy | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | bionic | ubuntu-snappy-cli | Advisory build | 2.61.4ubuntu0.18.04.1+esm1 | USN-6940-2 |
| Ubuntu | focal | golang-github-snapcore-snapd-dev | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | snap-confine | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | snapd-xdg-open | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | ubuntu-core-launcher | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | ubuntu-core-snapd-units | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | ubuntu-snappy | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | focal | ubuntu-snappy-cli | Advisory build | 2.63+20.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | golang-github-snapcore-snapd-dev | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | snap-confine | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | snapd-xdg-open | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | ubuntu-core-launcher | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | ubuntu-core-snapd-units | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | ubuntu-snappy | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | jammy | ubuntu-snappy-cli | Advisory build | 2.63+22.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | golang-github-snapcore-snapd-dev | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | snap-confine | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | snapd-xdg-open | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | ubuntu-core-launcher | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | ubuntu-core-snapd-units | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | ubuntu-snappy | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | noble | ubuntu-snappy-cli | Advisory build | 2.63+24.04ubuntu0.1 | USN-6940-1 |
| Ubuntu | xenial | golang-github-snapcore-snapd-dev | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | golang-github-ubuntu-core-snappy-dev | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | snap-confine | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | snapd-xdg-open | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | ubuntu-core-launcher | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | ubuntu-core-snapd-units | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | ubuntu-snappy | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
| Ubuntu | xenial | ubuntu-snappy-cli | Advisory build | 2.61.4ubuntu0.16.04.1+esm1 | USN-6940-2 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | snapd | 0 to < 2.62 (affected · custom)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-610 CWE-610 Externally Controlled Reference to a Resource in Another Sphere
References
1Provider assertions
3canonical · cna
snapd will follow archived symlinks when unpacking a filesystem
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a98878a703ae56ef104f4819364b1d8544f848c49641f754dda3a59ebcd4ed28
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record