KeygraphLabs · CVE MCP

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.

CVSS
6.6
medium, from NVD
EPSS
0.21%
percentile 12.1%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-25Published
2024-07-25Package advisory GHSA-64jh-cjwc-w8q6
2024-08-06Package advisory GO-2024-3008
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.30%

Affected packages

AdvisoryPackageFixed in
GHSA-64jh-cjwc-w8q6github.com/snapcore/snapd (Go)2.62
GO-2024-3008github.com/snapcore/snapd (Go)no fix yet

Also known as: GHSA-64jh-cjwc-w8q6, GO-2024-3008

Credited: Zeyad Gouda (finder)

Related

CVEPublishedCVSSSummary
CVE-2024-290692024-07-257.3snapd will follow archived symlinks when unpacking a filesystem
CVE-2024-17242024-07-258.2snapd allows $HOME/bin symlink
CVE-2024-51382024-05-318.1same package: github.com/snapcore/snapd (Go)
CVE-2022-33282024-01-087same package: github.com/snapcore/snapd (Go)
CVE-2026-1271562026-12-016.5lxd: Improper access control in image unpacking exposes host block devices
CVE-2026-1371142026-11-276.4lxd: Exposure of resource to wrong sphere in image and backup metadata handling
CVE-2026-1369732026-11-276.5lxd: Exposure of resource to wrong sphere in optimized ZFS backup imports
CVE-2026-1158432026-11-276.5lxd: 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.

NVD · CVE.org