Description (CNA)
Path traversal in the CLI client image export and copy functionality in Canonical LXD from 4.0.2 before 4.0.14, 5.0.10, 5.21.8, and 6.10 on all platforms allows a remote malicious or machine-in-the-middle image server to overwrite arbitrary local files and execute code on the client system via a crafted Content-Disposition header filename parameter during unified image export or copy operations into a local directory target.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Canonical / LXD | affected 4.0.2 before 4.0.14; affected 5.0.0 before 5.0.10; affected 5.21.0 before 5.21.8; affected 6.0 before 6.10 |
CWE
CWE-22
References
- https://github.com/canonical/lxd/security/advisories/GHSA-g4cm-f533-78hq
- https://github.com/canonical/lxd/pull/18977
- https://github.com/canonical/lxd/pull/18976
- https://github.com/canonical/lxd/pull/18974
- https://github.com/canonical/lxd/pull/18975
- https://github.com/canonical/lxd/pull/18940
ADP enrichment
No English description supplied.