logo

CVE-2024-1724 github.com/snapcore/snapd

Package

Manager: go
Name: github.com/snapcore/snapd
Vulnerable Version: >=0 <2.62

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L

EPSS: 0.00019 pctl0.03378

Details

snapd failed to restrict writes to the $HOME/bin path In snapd versions prior to 2.62, when using AppArmor for enforcement of sandbox permissions, snapd failed to restrict writes to the $HOME/bin path. In Ubuntu, when this path exists, it is automatically added to the users PATH. An attacker who could convince a user to install a malicious snap which used the 'home' plug could use this vulnerability to install arbitrary scripts into the users PATH which may then be run by the user outside of the expected snap sandbox and hence allow them to escape confinement.

Metadata

Created: 2024-07-25T21:31:20Z
Modified: 2024-08-07T15:10:52Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/07/GHSA-4mh8-9689-38vr/GHSA-4mh8-9689-38vr.json
CWE IDs: ["CWE-732"]
Alternative ID: GHSA-4mh8-9689-38vr
Finding: F039
Auto approve: 1