Incus host root code execution via OCI configuration injection
lxc incus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| lxc incus |
|
|
Original description
Incus before 7.6.0 contains a configuration injection vulnerability that allows users who can launch instances from controlled images to inject LXC directives by embedding line breaks in OCI config.json values or oci.entrypoint and oci.cwd keys. Attackers can add liblxc hooks or crafted tmpfs lxc.mount.entry fields to run commands as root on the host or bind-mount host paths, even from restricted projects.
From the CVE record · VulnCheck