High severity8.1NVD Advisory· Published May 31, 2024· Updated Jun 17, 2026
CVE-2024-5138
CVE-2024-5138
Description
The snapctl component within snapd allows a confined snap to interact with the snapd daemon to take certain privileged actions on behalf of the snap. It was found that snapctl did not properly parse command-line arguments, allowing an unprivileged user to trigger an authorised action on behalf of the snap that would normally require administrator privileges to perform. This could possibly allow an unprivileged user to perform a denial of service or similar.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/snapcore/snapdGo | >= 2.51.6, < 2.63.1 | 2.63.1 |
github.com/snapcore/snapdGo | < 0.0.0-20240524114846-68ee9c6aa916 | 0.0.0-20240524114846-68ee9c6aa916 |
Affected products
3- Canonical Ltd./snapdv5Range: 0
Patches
Vulnerability mechanics
References
8- github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14nvdPatch
- bugs.launchpad.net/snapd/+bug/2065077nvdExploitIssue TrackingPatchWEB
- github.com/advisories/GHSA-p9v8-q5m4-pf46ghsaADVISORY
- github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46nvdVendor Advisory
- www.cve.org/CVERecordnvdThird Party AdvisoryWEB
- github.com/canonical/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14ghsaWEB
- github.com/canonical/snapd/security/advisories/GHSA-p9v8-q5m4-pf46ghsaWEB
- ubuntu.com/security/CVE-2024-5138ghsaWEB
News mentions
0No linked articles in our index yet.