cve.bz

CVE-2024-1724 canonical snapd

8.2 highExploit referenceEPSS 0.3%Fix available

High (8.2) in canonical snapd. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/snapcore/snapd 2.62.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-07-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-1724 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-1724?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-1724?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-1724 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical snapbefore 2.62

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4mh8-9689-38vrGogithub.com/snapcore/snapd<2.622.62
GO-2024-3007Gogithub.com/snapcore/snapdall versionsno fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12snapdno fix listedDEBIAN-CVE-2024-1724
Debian13, 14snapd2.62-1DEBIAN-CVE-2024-1724
Ubuntu20.04:LTSsnapd2.63+20.04ubuntu0.1UBUNTU-CVE-2024-1724 USN-6940-1
Ubuntu22.04:LTSsnapd2.63+22.04ubuntu0.1UBUNTU-CVE-2024-1724 USN-6940-1
Ubuntu24.04:LTSsnapd2.63+24.04ubuntu0.1UBUNTU-CVE-2024-1724 USN-6940-1
UbuntuPro:16.04:LTSsnapd2.61.4ubuntu0.16.04.1+esm1UBUNTU-CVE-2024-1724 USN-6940-2
UbuntuPro:18.04:LTSsnapd2.61.4ubuntu0.18.04.1+esm1UBUNTU-CVE-2024-1724 USN-6940-2

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability doesn't affect the snapd versions as shipped with Fedora Linux or in EPEL repositories as apparmor is not used.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-1724.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11).

References

Check your stackJSON