CVE-2024-5138
published high CVSS 3.1 · 8.1snapd: Privilege escalation may lead to a Denial of Service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical Ltd. | — | snapd0 to < 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 · Platforms: Linux | Affected | Not stated | canonical |
| canonical | — | snapd0 to < 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 · Other versions: unknown | Affected | Not stated | CISA-ADP |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical Ltd. | snapd | 0 to < 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 (affected · custom) | canonical · cna |
| canonical | snapd | 0 to < 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 (affected · git)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
4Provider assertions
3canonical · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5b7516fff106a632513772578e31ae24fafdc208ceb62ecacb17f5e8a4e30581
- Ingested
- 23 Sep 2026, 08:32:30 UTC
- Source record
- Official CVE record