CVE-2024-1724CWE-732

snapd allows $HOME/bin symlink

Medium · published July 25, 2024

CVSS v3.1
6.3
EPSS
0%
Percentile
22.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00306 · 22.1th percentile
Weakness
CWE-732 · Incorrect Permission Assignment for Critical Resource
Published
2024-07-25T19:05Z
EPSS history
Timeline
  • 25 JUL 19:05Z
    snapd allows $HOME/bin symlink
    cvelistv5