CVE-2024-29069

MEDIUM
Published Jul 25, 2024 Modified Nov 21, 2024 CWE-610 CWE-59

Description

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.

Is your site exposed to CVE-2024-29069?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.8
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Weakness Type (CWE)

CWE-610 CWE-610
CWE-59 CWE-59

Affected Products

Vendor Product
canonical snapd

References

Frequently Asked Questions

What is CVE-2024-29069? +
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. It has a CVSS v3.1 base score of 4.8 (MEDIUM).
How severe is CVE-2024-29069? +
CVE-2024-29069 has a CVSS v3.1 score of 4.8 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-29069? +
CVE-2024-29069 affects products from canonical, specifically: snapd. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-29069? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-29069 — free, no signup required.