Back to CVE catalog
CVE-2024-29068

snapd vulnerability regarding file types

Canonical snapd

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityHigh
IntegrityNone
AvailabilityHigh

CVSS summary v3.1

5.8Medium
Published:
Updated:
EPSS:
0.212%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Local

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:Canonicalsnapd
Environments (1)
  • Linux
Affected versions:
< 2.62
Vendor:CanonicalsnapdAffected versions:
< 2.62Show full version range for snapd
  • CPE applicability can depend on other products or environments. Consult the full source configuration.

1–2 of 2 · Page 1 of 1

CVSS scores and metrics4
canonical · CVE List / CNA (cna)Primary5.8 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
High
Attack vector
Local
Privileges required
High
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H
[email protected] · NVD (Secondary)5.8 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
High
Attack vector
Local
Privileges required
High
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H
[email protected] · NVD (Primary)6.6 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
High
Attack vector
Local
Privileges required
Low
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
CVE-2024-29068 · OSV (source-vector)5.8 / 10MediumCVSS 3.1Details
Attack complexity
Low
Confidentiality
High
Integrity
None
Availability
High
Attack vector
Local
Privileges required
High
User interaction
Required
Scope
Unchanged

Source vector

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories8

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences