cve.bz

CVE-2024-1724

8.2 highEPSS 0.3%

High (8.2) in canonical snapd. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in github.com/snapcore/snapd 2.62.

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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 23% of CVEs (scores of 2026-10-31)
CWE
CWE-732
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4mh8-9689-38vrGogithub.com/snapcore/snapd<2.622.62
GO-2024-3007Gogithub.com/snapcore/snapdall versionsno fix published

References

Check your stackJSON