8.2

CVE-2024-1724: canonical snap

CVSS: 8.2v3.1HighModified
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 21.9% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
43/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.2/10
010
High · v3.1 (NVD)
EPSS score
0.31%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

22%

Versus all other CVEs

30-day change

0.00 pp

From 0.31% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.31%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • referenceUnverified

    Exploit Reference (gld.mcphail.uk)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

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