CVE-2024-5138
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.83%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 0.83% probability · 55th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- canonical/snapd
- Source
- security@ubuntu.com
References
- https://bugs.launchpad.net/snapd/+bug/2065077Exploit, Issue Tracking, Patch
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14Patch
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
- https://bugs.launchpad.net/snapd/+bug/2065077Exploit, Issue Tracking, Patch
- https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14Patch
- https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2024-5138Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.