VDB

CVE-2024-29069

CVE-2024-29069 PUBLISHED CVSS 4.8 MEDIUM

snapd will follow archived symlinks when unpacking a filesystem

Reported by canonical · Published July 25, 2024

github.com/snapcore/snapd is fixed in 2.62 (Go Modules)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
github.com/snapcore/snapdGo Modules2.62
snapdCanonical2.62

Risk scores

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

Affected products

VendorProductVersions
Canonicalsnapd0
Canonicalsnapd0
github.comsnapcore/snapd0

Timeline

  • Jul 25, 2024 CVE Published
  • Jul 25, 2024 PoC Published
  • Jul 26, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 12, 2025 CVE Updated
  • Apr 26, 2026 Security Advisory (5 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-29069
vulnetix vdb fixes CVE-2024-29069

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-29069/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›