Name | CVE-2024-5138 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1072365 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
snapd (PTS) | bullseye (security), bullseye | 2.49-1+deb11u2 | vulnerable |
| bookworm | 2.57.6-1 | vulnerable |
| sid, trixie | 2.65.3-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
snapd | source | buster | (not affected) | | | |
snapd | source | (unstable) | 2.62-3 | | | 1072365 |
Notes
[bookworm] - snapd <no-dsa> (Minor issue)
[bullseye] - snapd <no-dsa> (Minor issue)
[buster] - snapd <not-affected> (The vulnerable code was introduced later)
https://bugs.launchpad.net/snapd/+bug/2065077
https://github.com/snapcore/snapd/security/advisories/GHSA-p9v8-q5m4-pf46
https://github.com/snapcore/snapd/commit/68ee9c6aa916ab87dbfd9a26030690f2cabf1e14