CVE-2024-29068: 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.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is the severity of CVE-2024-29068?
CVE-2024-29068 is classified as a high-severity vulnerability due to improper file type checks in snapd versions prior to 2.62.
How do I fix CVE-2024-29068?
To fix CVE-2024-29068, upgrade snapd to version 2.62 or later.
What versions of snapd are affected by CVE-2024-29068?
CVE-2024-29068 affects snapd versions prior to 2.62.
What types of files does CVE-2024-29068 impact?
CVE-2024-29068 impacts the extraction of non-regular file types such as pipes or sockets within snap squashfs images.
Who is the vendor for CVE-2024-29068?
The vendor for CVE-2024-29068 is Canonical, the developer of snapd.