CVE-2024-29068 · canonical
snapd non-regular file indefinite blocking read
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.
Published 2024-07-25, last changed 2026-06-17. Weakness: CWE-20.
How to fix
Upgrade to a fixed version: github.com/snapcore/snapd 2.62 (Go). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2024-07-25 | Published |
| 2024-07-25 | Package advisory GHSA-64jh-cjwc-w8q6 |
| 2024-08-06 | Package advisory GO-2024-3008 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.30% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-64jh-cjwc-w8q6 | github.com/snapcore/snapd (Go) | 2.62 |
| GO-2024-3008 | github.com/snapcore/snapd (Go) | no fix yet |
Also known as: GHSA-64jh-cjwc-w8q6, GO-2024-3008
Credited: Zeyad Gouda (finder)
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2024-29069 | 2024-07-25 | 7.3 | snapd will follow archived symlinks when unpacking a filesystem |
| CVE-2024-1724 | 2024-07-25 | 8.2 | snapd allows $HOME/bin symlink |
| CVE-2024-5138 | 2024-05-31 | 8.1 | same package: github.com/snapcore/snapd (Go) |
| CVE-2022-3328 | 2024-01-08 | 7 | same package: github.com/snapcore/snapd (Go) |
| CVE-2026-127156 | 2026-12-01 | 6.5 | lxd: Improper access control in image unpacking exposes host block devices |
| CVE-2026-137114 | 2026-11-27 | 6.4 | lxd: Exposure of resource to wrong sphere in image and backup metadata handling |
| CVE-2026-136973 | 2026-11-27 | 6.5 | lxd: Exposure of resource to wrong sphere in optimized ZFS backup imports |
| CVE-2026-115843 | 2026-11-27 | 6.5 | lxd: Arbitrary host file write and delete as root via unvalidated snapshot names in custom volume push migration |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2024-29068, or call /api/v1/vulnerabilities/CVE-2024-29068. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.