CVEfocus › CVE database › CVE-2024-29068

CVE-2024-29068snapd non-regular file indefinite blocking read

CVSS 5.8 MediumEPSS 0.2% (higher than 11% of CVEs)Published 2024-07-25Updated 2024-08-02Assigner: canonical

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.

CWE-20

What to do

Fixed builds are available from Debian, Go, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04snapdFixed2.63+24.04ubuntu0.1UBUNTU-CVE-2024-29068
Ubuntu 22.04snapdFixed2.63+22.04ubuntu0.1UBUNTU-CVE-2024-29068
Ubuntu 20.04snapdFixed2.63+20.04ubuntu0.1UBUNTU-CVE-2024-29068
Ubuntu 18.04snapdFix pending2.61.4ubuntu0.18.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-29068
Ubuntu 16.04snapdFix pending2.61.4ubuntu0.16.04.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-29068
Debian 14snapdFixed2.62-1DEBIAN-CVE-2024-29068
Debian 13snapdFixed2.62-1DEBIAN-CVE-2024-29068
Debian 12snapdFix pendingDEBIAN-CVE-2024-29068
Go librarygithub.com/snapcore/snapdFixed2.62GHSA-64jh-cjwc-w8q6

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.