{"id":"CVE-2024-29069","aliases":["CVE-2024-29069","GHSA-69p6-gp5x-j269","GO-2024-3009"],"related":[],"kind":"vulnerability","state":"published","title":"snapd will follow archived symlinks when unpacking a filesystem","summary":"In snapd versions prior to 2.62, snapd failed to properly check the\ndestination of symbolic links when extracting a snap. The snap format \nis a squashfs file-system image and so can contain symbolic links and\nother file types. Various file entries within the snap squashfs image\n(such as icons and desktop files etc) are directly read by snapd when\nit is extracted. An attacker who could convince a user to install a\nmalicious snap which contained symbolic links at these paths could then \ncause snapd to write out the contents of the symbolic link destination\ninto a world-readable directory. This in-turn could allow an unprivileged\nuser to gain access to privileged information.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In snapd versions prior to 2.62, snapd failed to properly check the\ndestination of symbolic links when extracting a snap. The snap format \nis a squashfs file-system image and so can contain symbolic links and\nother file types. Various file entries within the snap squashfs image\n(such as icons and desktop files etc) are directly read by snapd when\nit is extracted. An attacker who could convince a user to install a\nmalicious snap which contained symbolic links at these paths could then \ncause snapd to write out the contents of the symbolic link destination\ninto a world-readable directory. This in-turn could allow an unprivileged\nuser to gain access to privileged information.","source":"cvelist"},{"lang":"en","text":"snapd failed to properly check the destination of symbolic links when extracting a snap in github.com/snapcore/snapd.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: github.com/snapcore/snapd before v2.62.0.","format":"markdown","source":"go"},{"lang":"es","text":"En versiones de snapd anteriores a la 2.62, snapd no podía verificar correctamente el destino de los enlaces simbólicos al extraer un snap. El formato snap es una imagen del sistema de archivos squashfs y, por lo tanto, puede contener enlaces simbólicos y otros tipos de archivos. snapd lee directamente varias entradas de archivos dentro de la imagen de snap squashfs (como íconos y archivos de escritorio, etc.) cuando se extrae. Un atacante que pudiera convencer a un usuario de que instalara un complemento malicioso que contuviera enlaces simbólicos en estas rutas podría hacer que snapd escribiera el contenido del destino del enlace simbólico en un directorio legible por todo el mundo. Esto, a su vez, podría permitir que un usuario sin privilegios obtenga acceso a información privilegiada.","source":"nvd"}],"published":"2024-07-25T19:39:41.050Z","modified":"2026-09-10T03:50:16.297Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":4.8,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-59","CWE-610"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"2.62","status":"affected"}],"vendor":"Canonical","product":"snapd","package":"snapd","repo":"https://github.com/snapcore/snapd/","platforms":["Linux"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.62"}],"ecosystem":"Go","package":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/snapcore/snapd","purl":"pkg:golang/github.com/snapcore/snapd","source":"go"},{"ranges":[{"status":"affected","fixed":"2.62"}],"vendor":"canonical","product":"snapd","cpe":"cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/snapcore/snapd/pull/13682","tags":["fix","issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29069","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/snapcore/snapd","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2024-3009","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-69p6-gp5x-j269","tags":["advisory"],"sources":["go"]}],"credits":["Zeyad Gouda"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-07-26T13:27:42.541Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29069","url":"https://www.cve.org/CVERecord?id=CVE-2024-29069","licence":"CVE Terms of Use","modified":"2024-08-02T01:03:51.700Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-69p6-gp5x-j269","url":"https://github.com/advisories/GHSA-69p6-gp5x-j269","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:16.297Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3009","url":"https://pkg.go.dev/vuln/GO-2024-3009","licence":"CC-BY-4.0","modified":"2024-08-06T22:27:07.749Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29069","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29069","licence":"Public domain","modified":"2026-06-17T07:22:21.740Z"}],"updatedAt":"2026-11-25T22:58:43.211Z","epss":{"score":0.00228,"percentile":0.14524,"date":"2026-12-01T12:00:22.000Z"}}