Kopia file overwrite outside restore directory via snapshot entries
kopia
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| kopia kopia |
| No fix yet |
Original description
Kopia through 0.23.1 contains a path traversal vulnerability in copyDirectoryContent that allows users with repository write access to escape the restore directory via crafted entry names. Attackers can create snapshots whose directory manifest entries are named '..', so victims restoring with default options write attacker-chosen content outside the restore directory.
From the CVE record · VulnCheck