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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:canonical:snapd:*:*:*:*:*:*:*:* 2.51.6 (including) 2.63.1 (excluding)