Skip to main content

Snapd CVE-2024-29069

HIGH
Externally Controlled Reference to a Resource in Another Sphere (CWE-610)
2024-07-25 security@ubuntu.com
7.3
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

1
CVE Published
Jul 25, 2024 - 20:15 nvd
HIGH 7.3

DescriptionNVD

In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information.

AnalysisAI

In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. Rated high severity (CVSS 7.3), this vulnerability is low attack complexity.

Technical ContextAI

This vulnerability is classified under CWE-610. In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. The snap format is a squashfs file-system image and so can contain symbolic links and other file types. Various file entries within the snap squashfs image (such as icons and desktop files etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained symbolic links at these paths could then cause snapd to write out the contents of the symbolic link destination into a world-readable directory. This in-turn could allow an unprivileged user to gain access to privileged information. Affected products include: Canonical Snapd. Version information: prior to 2.62.

RemediationAI

A vendor patch is available. Apply the latest security update as soon as possible. Apply vendor patches when available. Implement network segmentation and monitoring as interim mitigations.

More in Snapd

View all
CVE-2023-1523 CRITICAL POC
10.0 Sep 01

Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal whi

CVE-2019-7304 CRITICAL POC
9.8 Apr 23

Canonical snapd before version 2.37.1 incorrectly performed socket owner validation, allowing an attacker to run arbitra

CVE-2024-1724 HIGH POC
8.2 Jul 25

In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict wr

CVE-2024-5138 HIGH POC
8.1 May 31

The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged a

CVE-2022-3328 HIGH POC
7.8 Jan 08

Race condition in snap-confine's must_mkdir_and_open_with_perms(). Rated high severity (CVSS 7.8). Public exploit code a

CVE-2019-11503 HIGH POC
7.5 Apr 24

snap-confine as included in snapd before 2.39 did not guard against symlink races when performing the chdir() to the cur

CVE-2019-11502 HIGH POC
7.5 Apr 24

snap-confine in snapd before 2.38 incorrectly set the ownership of a snap application to the uid and gid of the first ca

CVE-2019-7303 HIGH POC
7.5 Apr 23

A vulnerability in the seccomp filters of Canonical snapd before version 2.37.4 allows a strict mode snap to insert char

CVE-2020-11933 MEDIUM
6.8 Jul 29

cloud-init as managed by snapd on Ubuntu Core 16 and Ubuntu Core 18 devices was run without restrictions on every boot,

CVE-2024-29068 MEDIUM
6.6 Jul 25

In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. Rated medium sever

Share

CVE-2024-29069 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy