cbcvebase.
CVE-2024-1724
published 2024-07-25

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…

high8.2CVSS 3.1
AVLACLPRLUIRSCCHIHAH
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.

Affected

12 ranges
VendorProductVersion rangeFixed in
actionsartifact>= 2.0.0 < 2.1.22.1.2
canonicalsnap< 2.622.62
canonicalsnapd< 2.622.62
debiansnapd< snapd 2.62-1 (forky)snapd 2.62-1 (forky)
github.comsnapcore_snapd>= 0 < 2.622.62
snapcraftsnapd>= 0 < 2.62-12.62-1
snapcraftsnapd>= 0 < 2.62-12.62-1
snapcraftsnapd>= 0 < 2.63+20.04ubuntu0.12.63+20.04ubuntu0.1
snapcraftsnapd>= 0 < 2.63+22.04ubuntu0.12.63+22.04ubuntu0.1
snapcraftsnapd>= 0 < 2.63+24.04ubuntu0.12.63+24.04ubuntu0.1
snapcraftsnapd>= 0 < 2.61.4ubuntu0.16.04.1+esm12.61.4ubuntu0.16.04.1+esm1
snapcraftsnapd>= 0 < 2.61.4ubuntu0.18.04.1+esm12.61.4ubuntu0.18.04.1+esm1

CVSS provenance

nvdv3.18.2HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
ghsa7.5HIGH
osv8.2HIGH