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.
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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-2247 | 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. |
Github GHSA |
GHSA-4mh8-9689-38vr | snapd failed to restrict writes to the $HOME/bin path |
Ubuntu USN |
USN-6940-1 | snapd vulnerabilities |
Ubuntu USN |
USN-6940-2 | snapd vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 28 May 2025 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
Thu, 22 May 2025 02:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
Mon, 26 Aug 2024 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Canonical
Canonical snapd |
|
| CPEs | cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Canonical
Canonical snapd |
Status: PUBLISHED
Assigner: canonical
Published:
Updated: 2024-08-01T18:48:21.887Z
Reserved: 2024-02-21T19:46:47.236Z
Link: CVE-2024-1724
Updated: 2024-08-01T18:48:21.887Z
Status : Modified
Published: 2024-07-25T19:15:09.913
Modified: 2024-11-21T08:51:10.117
Link: CVE-2024-1724
OpenCVE Enrichment
No data.
EUVD
Github GHSA
Ubuntu USN