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.
References
Link | Resource |
---|---|
https://bugs.launchpad.net/snapd/+bug/2065077 | Exploit Issue Tracking Patch |
https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 | Patch |
https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 | Vendor Advisory |
https://www.cve.org/CVERecord?id=CVE-2024-5138 | Third Party Advisory |
https://bugs.launchpad.net/snapd/+bug/2065077 | Exploit Issue Tracking Patch |
https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 | Patch |
https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 | Vendor Advisory |
https://www.cve.org/CVERecord?id=CVE-2024-5138 | Third Party Advisory |
Configurations
History
26 Aug 2025, 17:21
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* | |
First Time |
Canonical snapd
Canonical |
|
References | () https://bugs.launchpad.net/snapd/+bug/2065077 - Exploit, Issue Tracking, Patch | |
References | () https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 - Patch | |
References | () https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 - Vendor Advisory | |
References | () https://www.cve.org/CVERecord?id=CVE-2024-5138 - Third Party Advisory |
21 Nov 2024, 09:47
Type | Values Removed | Values Added |
---|---|---|
References | () https://bugs.launchpad.net/snapd/+bug/2065077 - | |
References | () https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 - | |
References | () https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46 - | |
References | () https://www.cve.org/CVERecord?id=CVE-2024-5138 - |
06 Sep 2024, 20:35
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-20 | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 8.1 |
03 Jun 2024, 14:46
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
31 May 2024, 21:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-05-31 21:15
Updated : 2025-08-26 17:21
NVD link : CVE-2024-5138
Mitre link : CVE-2024-5138
CVE.ORG link : CVE-2024-5138
JSON object : View
Products Affected
canonical
- snapd
CWE
CWE-20
Improper Input Validation