USN-4728-1: snapd vulnerability
10 February 2021
An intended access restriction in snapd could be bypassed by container management snaps.
- snapd - Daemon and tooling that enable snap packages
Gilad Reti and Nimrod Stoler discovered that snapd did not correctly specify cgroup
delegation when generating systemd service units for various container
management snaps. This could allow a local attacker to escalate privileges
via access to arbitrary devices of the container host from within a
compromised or malicious container.
The problem can be corrected by updating your system to the following package versions:
In general, a standard system update will make all the necessary changes.
On Ubuntu, snapd will automatically refresh itself to snapd 2.48.3 which is
unaffected. Affected container management snaps will also automatically
refresh which will restart containers and resolve this vulnerability.