Description (CNA)
Incus before 6.0.7, 6.1.0 before 7.0.2, and 7.1.0 before 7.5.0 contains an arbitrary file write vulnerability in sftpRecursivePullFile that allows a malicious incus-agent to escape the target directory during incus file pull -r. Attackers with root in a virtual machine can return duplicate entries reported first as symlinks then as files or directories, writing attacker-controlled files such as /etc/shadow on the operator's host.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| lxc / incus | affected 0 before 6.0.7; unaffected 6.0.7; affected 6.1.0 before 7.0.2; unaffected 7.0.2; affected 7.1.0 before 7.5.0; unaffected 7.5.0 |
CWE
CWE-59
References
- https://github.com/lxc/incus/security/advisories/GHSA-wfvq-qh87-gm4j
- https://www.vulncheck.com/advisories/incus-before-6.0.7-6.1.0-before-7.0.2-and-7.1.0-before-7.5.0-arbitrary-file-write-via-recursive-file-pull
ADP enrichment
No English description supplied.
No references supplied.