10.0 CRITICAL
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): LOW
- User interaction (UI): NONE
- Scope (S): CHANGED
- Confidentiality impact (C): HIGH
- Integrity impact (I): HIGH
- Availability impact (A): HIGH
by @LeSuisse Activity log
- Created automatic suggestion
-
@LeSuisse
removed
3 packages
- terraform-providers.incus
- terraform-providers.lxc_incus
- incus-ui-canonical
- @LeSuisse accepted
- @LeSuisse published on GitHub
Abitrary file write through systemd-creds option
Incus is a system container and virtual machine manager. Incus instances have an option to provide credentials to systemd in the guest. For containers, this is handled through a shared directory. Prior to version 6.23.0, an attacker can set a configuration key named something like `systemd.credential.../../../../../../root/.bashrc` to cause Incus to write outside of the `credentials` directory associated with the container. This makes use of the fact that the Incus syntax for such credentials is `systemd.credential.XYZ` where `XYZ` can itself contain more periods. While it's not possible to read any data this way, it's possible to write to arbitrary files as root, enabling both privilege escalation and denial of service attacks. Version 6.23.0 fixes the issue.
References
- https://github.com/lxc/incus/security/advisories/GHSA-q4q8-7f2j-9h9f x_refsource_CONFIRM
Affected products
- ==< 6.23.0
Matching in nixpkgs
pkgs.incus
Powerful system container and virtual machine manager
Ignored packages (3)
pkgs.incus-ui-canonical
Web user interface for Incus
pkgs.terraform-providers.incus
None
Package maintainers
-
@jnsgruk Jon Seager <jon@sgrs.uk>
-
@megheaiulian Meghea Iulian <iulian.meghea@gmail.com>
-
@adamcstephens Adam C. Stephens <happy.plan4249@valkor.net>
-
@mkg20001 Maciej Krüger <mkg20001+nix@gmail.com>
-
@aanderse Aaron Andersen <aaron@fosslib.net>