SecurityContext

CVE-2024-29069: snapd - Path Traversal

  • Cve: CVE-2024-29069
  • Name: snapd - Path Traversal
  • 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.
  • Impact: Unprivileged users can access sensitive information by exploiting symbolic link vulnerabilities during snap installation.
  • Remediation: Update to snapd 2.62 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: information_disclosure
  • Requirement type: user_interaction
  • Requirements: Attacker needs user to install a malicious snap
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00228
  • Epss percentile: 0.1349
  • Assignee: [email protected]
  • Published at: 2024-07-25T20:15:04Z
  • Age in days: 852
  • Modified at: 2026-06-17T07:22:21Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-29069
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-610Externally Controlled Reference to a Resource in Another Sphere
CWE-59Improper Link Resolution Before File Access

References

UrlSourceTags
https://github.com/snapcore/snapd/pull/13682nvdIssue Tracking, Patch

Products

ProductAffectedPlatform boundSourcesUrl
canonical:snapd< 2.62nonvd/v1/products/canonical/snapd

Projects

RepositoryLink kindsIndexedUrl
snapcore/snapdcommit, package, pullyes/v1/repositories/snapcore/snapd

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts