CVE-2024-29068
published medium CVSS 3.1 · 5.8snapd non-regular file indefinite blocking read
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 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.
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
- 5.8 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H
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-20 CWE-20 Improper Input Validation
References
2Provider assertions
3canonical · cna
snapd non-regular file indefinite blocking read
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b951e878fde738574dd7bababfc315f9f9506d3abf81889e2a4e53fc75e990a2
- Ingested
- 23 Sep 2026, 08:21:14 UTC
- Source record
- Official CVE record