Description
DevSpace through 6.3.21 fails to reject parent-directory segments in tar entry names from the in-pod sync stream. Attackers operating a malicious container can stream tar entries with traversal sequences to write arbitrary files on the developer workstation, enabling code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| devspace | devspace | ≤ 6.3.21 | — |
References
- GitHub Issue #3290 issue-tracking
- https://github.com/devspace-sh/devspace product
- https://github.com/devspace-sh/devspace/blob/7f272dcf90653fa9b42bc4347f7f3f9a52b0e8b5/pkg/devspace/sync/tar.go#L68-L82 technical-description
- https://github.com/devspace-sh/devspace/blob/7f272dcf90653fa9b42bc4347f7f3f9a52b0e8b5/pkg/devspace/sync/util.go#L9-L11 technical-description
- VulnCheck Advisory: DevSpace through 6.3.21 Path Traversal via tar extraction third-party-advisory