9.9 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
Arbitrary File Read/Write: metadata.yaml symlink in image allows host filesystem access as root
Incus is a system container and virtual machine manager. Prior to version 7.3.0, a malicious image containing a `metadata.yaml` symlink pointing to an arbitrary host path allows an authenticated Incus user to read or overwrite any file on the host as root via the instance metadata API. The `exec-output` and `templates/` paths were patched in a prior release using `Lstat` rejection and `os.OpenRoot` confinement; `metadata.yaml` was not included in either patch and remains exploitable. Version 7.3.0 patches the issue.
References
-
https://github.com/lxc/incus/security/advisories/GHSA-fmjx-5j3g-997p x_refsource_CONFIRM
Affected products
- ==< 7.3.0
Matching in nixpkgs
pkgs.incus
Powerful system container and virtual machine manager
pkgs.incus-lts
Powerful system container and virtual machine manager
pkgs.incus-spawn
CLI tool for managing isolated Incus development environments
-
nixos-unstable -
- nixos-unstable-small 0.2.15
pkgs.incus-compose
Bring the familiar Docker Compose workflow to Incus — run compose.yaml files natively on Incus
-
nixos-unstable -
- nixos-unstable-small 1.2.0
pkgs.truenas-incus-ctl
A CLI tool for managing Incus volumes on TrueNAS
pkgs.incus-ui-canonical
Web user interface for Incus
pkgs.terraform-providers.incus
None
Package maintainers
-
@megheaiulian Meghea Iulian <iulian.meghea@gmail.com>
-
@herbetom Tom Herbers <nixos@tomherbers.de>
-
@aanderse Aaron Andersen <aaron@fosslib.net>
-
@adamcstephens Adam C. Stephens <happy.plan4249@valkor.net>
-
@ysnt-yes Yes <yes@ysnt.live>
-
@galderz Galder Zamarreño <galder@ibm.com>