Incorrect authorization in Snapd - CVE-2024-5138

 

Incorrect authorization in Snapd - CVE-2024-5138

Published: January 16, 2025 / Updated: November 25, 2026


Vulnerability identifier: #VU170156
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-5138
CWE-ID: CWE-863
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a local denial of service by exhausting system memory.

The vulnerability exists due to improper authorization in snapd's snapctl mount handling when a mount request is misclassified as a help request. A remote attacker can trigger unauthorized mount operations through an installed snap that already has host mount permissions to exhaust system memory.


Affected software

Snapd

How to mitigate CVE-2024-5138

Install security update from vendor's website.

Snapd - update to 2.63.1

External References

Related Security Bulletins