Vulnerability in Canonical Snap
CVE-2024-1724
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.
EPSS: 0.003 (22.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L.
Affected products
- Canonical Snap — versions 0
- Canonical Snapd
Weakness classification (CWE)
References
- security@ubuntu.com (Patch)
- security@ubuntu.com (Technical Description, Exploit, Third Party Advisory)
- security@ubuntu.com (Patch, Issue Tracking)
Frequently asked questions
- What is CVE-2024-1724?
- CVE-2024-1724 is a medium-severity vulnerability in Canonical Snap, classified under Incorrect Permission Assignment for Critical Resource. CVSS score: 6.3/10. Published 2024-07-25.
- How severe is CVE-2024-1724?
- Medium severity. CVSS v3 base score is 6.3 out of 10.