Moderate severityNVD Advisory· Published May 31, 2024· Updated Sep 6, 2024
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
2- Canonical Ltd./snapdv5Range: 0
Patches
Vulnerability mechanics
Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
8- github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14mitrepatch
- github.com/advisories/GHSA-p9v8-q5m4-pf46ghsaADVISORY
- bugs.launchpad.net/snapd/+bug/2065077ghsaissue-trackingWEB
- github.com/canonical/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14ghsaWEB
- github.com/canonical/snapd/security/advisories/GHSA-p9v8-q5m4-pf46ghsaWEB
- github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46mitreissue-tracking
- ubuntu.com/security/CVE-2024-5138ghsaWEB
- www.cve.org/CVERecordghsaissue-trackingWEB
News mentions
0No linked articles in our index yet.