CVE-2024-29068

snapd non-regular file indefinite blocking read

Published Jul 25, 2024 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2275 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.
Github GHSA Github GHSA GHSA-64jh-cjwc-w8q6 snapd failed to properly check the file type when extracting a snap
Ubuntu USN Ubuntu USN USN-6940-1 snapd vulnerabilities
Ubuntu USN Ubuntu USN USN-6940-2 snapd vulnerabilities
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical snapd
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*
Vendors & Products Canonical
Canonical snapd
Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Aug 2, 2024, 1:03 AM
Reserved
Mar 14, 2024, 11:09 PM
Status
Modified
Published
Jul 25, 2024, 8:15 PM
Modified
Jun 17, 2026, 7:22 AM