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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | snapd | < 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 | 68ee9c6aa916ab87dbfd9a26030690f2cabf1e14 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | snapd | 2.62-3 | — |
| Debian 13 | snapd | 2.62-3 | — |
| Debian 12 | snapd | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | snapd | No fix yet | — |
| Ubuntu 22.04 LTS | snapd | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | snapd | No fix yet | — |
| Ubuntu Pro 18.04 LTS | snapd | No fix yet | — |
| Ubuntu Pro 16.04 LTS | snapd | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/snapcore/snapd | >= 2.51.6, < 2.63.1 | 2.63.1 | GHSA-p9v8-q5m4-pf46 |
| Go | github.com/snapcore/snapd | < 0.0.0-20240524114846-68ee9c6aa916 | 0.0.0-20240524114846-68ee9c6aa916 | GHSA-p9v8-q5m4-pf46 |
| Go | github.com/snapcore/snapd | all versions | — | GO-2024-2906 |
Advisories 1
- WID-SEC-2025-0113 Canonical Snap: Schwachstelle ermöglicht Umgehen von Sicherheitsvorkehrungen BSI CERT-Bund (WID) · Jan 16, 2025