Security Resilience

CVE-2024-1724

LPE in Canonical Snapd ≤ 2.62

Public PoCLPE
Published
25 July 2024
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 6.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
EPSS Score 0.0031 22th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2024-1724 is a medium-severity Incorrect Permission Assignment for Critical Resource (CWE-732) vulnerability in Canonical Snapd. Its CVSS base score is 6.3 (Medium).

Operationally, ranked at the 22th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2024-29069Same product: Canonical Snapd
CVE-2024-5138Same product: Canonical Snapd
CVE-2024-29068Same product: Canonical Snapd
CVE-2024-11584Same vendor: Canonical
CVE-2024-3250Same vendor: Canonical
CVE-2019-7304Same product: Canonical Snapd
CVE-2023-1523Same product: Canonical Snapd
CVE-2026-6369Same vendor: Canonical
CVE-2026-5412Same vendor: Canonical
CVE-2023-32549Same vendor: Canonical

Affected Assets

canonical
snapd
≤ 2.62

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Enforces the access control policy that defines permissions on resources, thereby stopping incorrect assignments from remaining exploitable.

Directly requires assignment of only the minimum necessary permissions, preventing overly broad grants on critical resources.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.5.1 only requires the existence of an overarching policy and topic-specific policies (including on access control); it does not itself enforce, implement, or act on permissions and therefore cannot stop CWE-732 from being exploitable.

blocks

A.5.12 only defines and communicates a classification scheme (with owners accountable for applying it); it does not itself enforce, restrict or decide any permissions, so the CWE-732 permission flaw can still be present and exploitable.

blocks

A.5.15 directly requires determining access needs, defining and communicating an access control policy, implementing rules that map rights/restrictions to entities (including consistency with classification), and considering need-to-know, privileged restrictions, segregation, formal authorization, and dynamic factors — which squarely stops most incorrect permission assignments from being exploitable; the bounded remainder is misconfigurations that violate the policy itself.

blocks

A.5.18 directly governs the provisioning, review, adjustment and revocation of logical access rights (including for critical resources) according to business needs, policy, SoD and risk, which stops most unintended actors from reading/modifying via incorrect permissions; the bounded remainder is incorrect permission assignments that are not access-right decisions at all (e.g. filesystem umask, ACL syntax errors).

blocks

Documented responsibility for protecting assets encourages correct permission settings rather than leaving them at insecure defaults.

finds

Monitoring supplier policy changes and conducting audits can reveal incorrect permission assignments on resources managed by the supplier, prompting corrective action before they are exploited.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-732, a class-level weakness. Rules are authored against its narrower children: CWE-276, CWE-277, CWE-281.

References