8.2

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

Modified
AliasesUBUNTU-CVE-2024-1724DEBIAN-CVE-2024-1724GHSA-4mh8-9689-38vr
Published 25-07-2024Last modified 01-08-2024

Vulnerability summary

CVE-2024-1724 is a high (CVSS 8.2) vulnerability in canonical snap. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.1% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Routine

Not severe (CVSS 6.3, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1reference

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 25-07-2024
    PublishedVulnerability first disclosed.
  2. 01-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.31%

Chance of exploitation in the next 30 days

Percentile

25%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.31% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gld.mcphail.uk)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Canonical2 products
Debian1 product
  • snapdAll versions (No fix recorded) | < 2.62-1
Github.com/snapcore1 product
  • snapd< 2.62 | All versions (No fix recorded)
Ubuntu1 product
  • snapd< 2.61.4ubuntu0.16.04.1+esm1 | < 2.61.4ubuntu0.18.04.1+esm1 | < 2.63+20.04ubuntu0.1 | < 2.63+22.04ubuntu0.1 | < 2.63+24.04ubuntu0.1

4 vendors · 5 products

References

13 links
Show all 13 references