Database/Kernel, userspace & hypervisor
Incus: instance snapshots bypass restricted.containers.lowlevel, giving command execution on the host
Impact
restricted.containers.lowlevel=block is the setting that stops a project-scoped user from setting raw.lxc and raw.qemu, the hooks that let an instance config run arbitrary things on the host. Snapshot handling skipped that check, so a user restricted to a project can smuggle a lowlevel hook in through a snapshot and get arbitrary command execution on the Incus server itself. On a host running Incus containers or VMs for several teams, that is the boundary between a delegated project and the machine holding every other instance, including whatever GPU passthrough those instances have. The advisory scores it as a scope change from low privilege to full host compromise.
Who can reach it
An authenticated Incus user with rights over a restricted project - the exact population the restricted.* settings exist to contain. Reachable over the Incus API, no host access needed.
What to do
Upgrade to Incus 7.2.0, which patches the snapshot path, and restart the Incus daemon. Instances keep running across an incus daemon restart, so this is not a drain-and-reboot job. Before upgrading, treat restricted.containers.lowlevel as not enforced: audit existing snapshots for raw.lxc and raw.qemu keys and tighten who may create instances in delegated projects.
References
Related entries
- glibc through 2.29: heap buffer over-read in regexec during case-insensitive regex matchingCVE-2019-9169 · glibc regexec (proceed_next_node, case-insensitive matching)Critical
- VMware ESXi (OpenSLP): Use-after-free in OpenSLP on port 427 - unauthenticated remote code execution on the hypervisorCVE-2020-3992 · VMware ESXi (OpenSLP)Critical
- glibc 2.32/2.33: use-after-free in mq_notify of the caller's notification thread attributesCVE-2021-33574 · glibc mq_notify (POSIX message queue notification thread attributes)Critical
- OpenSSL: SM2 decryption understates the required buffer, overflowing it by up to 62 bytesCVE-2021-3711 · OpenSSL EVP_PKEY_decrypt (SM2 plaintext buffer size calculation)Critical
- Linux kernel mlx5_core kTLS RX offload: TLS RX resync list corruption: entries are moved by the resync handlerCVE-2021-47215 · Linux kernel mlx5_core kTLS RX offloadCritical
- Linux kernel (drivers/nvme/host): The NVMe/RDMA initiator destroys the queue pair before the connection manager ID, soCVE-2021-47378 · Linux kernel (drivers/nvme/host)Critical
This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.