CVE-2024-5138
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
31/05/2024
Last modified:
26/08/2025
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.
Impact
Base Score 3.x
8.10
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* | 2.51.6 (including) | 2.63.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://bugs.launchpad.net/snapd/+bug/2065077
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46
- https://www.cve.org/CVERecord?id=CVE-2024-5138
- https://bugs.launchpad.net/snapd/+bug/2065077
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46
- https://www.cve.org/CVERecord?id=CVE-2024-5138



