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
CVSS summary v3.1
- Published:
- Updated:
- EPSS:
- 0.212%
- Exploited in attacks:
- Not confirmed
- Ransomware campaigns:
- Not confirmed
- Attack vector:
- Local
Related CWE
Affected software
Vendor, product and affected version ranges.
| Vendor | Product | Affected versions |
|---|---|---|
| Vendor:Canonical | snapdEnvironments (1)
| Affected versions: < 2.62 |
| Vendor:Canonical | snapd | Affected versions:< 2.62Show full version range for snapd
|
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:HCVE-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:HCVSS 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