Symbolic Link Vulnerability in snapd Package: Risk of Information Disclosure

snapd Updated 02 Oct 2025

Summary

25/07/2024
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2024-29069: In snapd versions prior to 2.62, snapd failed to properly check the destination of symbolic links when extracting a snap. Affects snapd versions < 2.62-1. Fixed in 2.62-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The snapd package is a core component of the Snap ecosystem, enabling the installation and management of snap packages on Debian-based systems. Snap packages are self-contained applications that include all necessary dependencies, allowing for easy deployment and isolation. However, prior to version 2.62, snapd exhibited a critical vulnerability related to the handling of symbolic links during the extraction of snap packages, which could lead to unauthorized access to sensitive information.

Vulnerability Detail

In snapd versions prior to 2.62, the software failed to properly validate the destination of symbolic links when extracting snap packages. This oversight allowed an attacker to craft a malicious snap containing symbolic links that, when installed, could redirect the extraction process to write sensitive information into world-readable directories. Consequently, unprivileged users could gain access to privileged data, posing a significant security risk.

How To Fix

Minimum fixed version

2.62-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade snapd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can avoid installing untrusted snap packages until they have updated to the patched version. Additionally, users should verify the integrity and source of snap packages before installation to mitigate potential risks.

Conclusion

The vulnerability in snapd poses a serious risk of information disclosure through the mishandling of symbolic links. Users are strongly encouraged to update to version 2.62-1 or later to mitigate this risk. By staying informed and utilizing tools like Vulert, users can better protect their systems from open-source vulnerabilities.

See every vulnerability recorded for snapd →

Share this vulnerability

FAQ

The vulnerability allows unprivileged users to access sensitive information by exploiting symbolic links in malicious snap packages.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities. Visit Vulert Scanner to check if your application is affected without any signup.

snapd versions prior to 2.62 are affected by this vulnerability.

Yes, avoid installing untrusted snap packages and verify the integrity of packages before installation.

If immediate updating is not possible, refrain from installing any new snap packages until the update can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for snapd.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.62-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade snapd

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback