Incus has an arbitrary file write via path traversal in S3 multipart upload
lxc incus
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lxc/incus/v7/cmd/incusd Go |
|
|
| github.com/lxc/incus Go |
| No fix yet |
| github.com/lxc/incus/v6 Go |
|
lxc incus
| Product | Affected | Fixed in |
|---|---|---|
| github.com/lxc/incus/v7/cmd/incusd Go |
|
|
| github.com/lxc/incus Go |
| No fix yet |
| github.com/lxc/incus/v6 Go |
|
| No fix yet |
| github.com/lxc/incus/v7 Go |
|
|
Incus is a system container and virtual machine manager. Prior to version 7.1.0, the S3 protocol upload endpoint is vulnerable to path traversal and allows creation of arbitrary files on the host. This behavior could lead to arbitrary command execution. Version 7.1.0 fixes the issue.
From the CVE record · GitHub_M
Before version 7.1.0, the Incus S3 upload endpoint is vulnerable to path traversal. An attacker able to use the endpoint could create arbitrary files on the host, potentially leading to command execution. The input does not specify authentication or user-interaction requirements.
Check Incus deployments and Go packages github.com/lxc/incus/v7/cmd/incusd and github.com/lxc/incus/v7 before 7.1.0, as well as github.com/lxc/incus and github.com/lxc/incus/v6 at all versions.