Lucene search

K
vulnrichmentCanonicalVULNRICHMENT:CVE-2024-1724
HistoryJul 25, 2024 - 7:05 p.m.

CVE-2024-1724 snapd allows $HOME/bin symlink

2024-07-2519:05:23
CWE-732
canonical
github.com
6
snapd
vulnerability
arbitrary
scripts
apparmor
ubuntu

CVSS3

6.3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

AI Score

7.2

Confidence

Low

EPSS

0.001

Percentile

20.8%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*"
    ],
    "vendor": "canonical",
    "product": "snapd",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.62",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

CVSS3

6.3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

AI Score

7.2

Confidence

Low

EPSS

0.001

Percentile

20.8%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

partial