github.com/snapcore/snapd
Affected
- introduced
0, fixed2.62(ecosystem)
Fixed versions
2.62
Fix
- Fixed version
2.62go get github.com/snapcore/[email protected]
Advisory
Also known as: CVE-2024-1724, GO-2024-3007
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.
Medium Basis: The source's own band: MODERATE
0, fixed 2.62 (ecosystem)2.62
2.62go get github.com/snapcore/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0