CVE-2024-29068

Publication date 14 March 2024

Last updated 6 August 2024


Ubuntu priority

Cvss 3 Severity Score

5.8 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
snapd 24.10 oracular
Fixed 2.63+24.10
24.04 LTS noble
Fixed 2.62+24.04build1
23.10 mantic Ignored end of life, was needed
22.04 LTS jammy
Fixed 2.63+22.04ubuntu0.1
20.04 LTS focal
Fixed 2.63+20.04ubuntu0.1
18.04 LTS bionic
Vulnerable
16.04 LTS xenial
Vulnerable
14.04 LTS trusty Ignored end of standard support

Notes


sarnold

CWE-20 CAPEC-586

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
snapd

Severity score breakdown

Parameter Value
Base score 5.8 · Medium
Attack vector Local
Attack complexity Low
Privileges required High
User interaction Required
Scope Unchanged
Confidentiality High
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:H

References

Related Ubuntu Security Notices (USN)

Other references