ghsa-69p6-gp5x-j269
Vulnerability from github
Published
2024-07-25 21:31
Modified
2024-11-18 16:26
Severity ?
4.8 (Medium) - CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
2.4 (Low) - 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
2.4 (Low) - 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
Summary
snapd failed to properly check the destination of symbolic links when extracting a snap
Details
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.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/snapcore/snapd" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.62" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-29069" ], "database_specific": { "cwe_ids": [ "CWE-59", "CWE-610" ], "github_reviewed": true, "github_reviewed_at": "2024-07-26T16:39:29Z", "nvd_published_at": "2024-07-25T20:15:04Z", "severity": "LOW" }, "details": "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.", "id": "GHSA-69p6-gp5x-j269", "modified": "2024-11-18T16:26:55Z", "published": "2024-07-25T21:31:20Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-29069" }, { "type": "WEB", "url": "https://github.com/snapcore/snapd/pull/13682" }, { "type": "WEB", "url": "https://github.com/snapcore/snapd/commit/b66fee81606a1c05f965a876ccbaf44174194063" }, { "type": "PACKAGE", "url": "https://github.com/snapcore/snapd" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2024-3009" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L", "type": "CVSS_V3" }, { "score": "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", "type": "CVSS_V4" } ], "summary": "snapd failed to properly check the destination of symbolic links when extracting a snap" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.