CVE-2024-5138

Published May 31, 2024 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p9v8-q5m4-pf46 CVE-2024-5138: snapd snapctl auth bypass
History
Type Values Removed Values Added
First Time appeared Canonical
Canonical snapd
CPEs cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:*
Vendors & Products Canonical
Canonical snapd
Type Values Removed Values Added
Weaknesses CWE-20
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
canonical
Published
Updated
Sep 6, 2024, 7:48 PM
Reserved
May 19, 2024, 10:29 PM
Status
Analyzed
Published
May 31, 2024, 9:15 PM
Modified
Jun 17, 2026, 8:15 AM