Description
Duplicacy through 3.2.5 contains a path traversal vulnerability in the restore function that fails to validate entry paths deserialized from snapshot files. Attackers can craft malicious snapshot entries with directory traversal sequences to write files outside the restore directory to arbitrary locations accessible by the restoring user.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gilbertchen | duplicacy | ≤ 3.2.5 | — |
References
- GitHub Issue #692 issue-tracking
- https://github.com/gilbertchen/duplicacy product
- Vulnerable code: duplicacy_utils_others.go technical-description
- Vulnerable code: duplicacy_backupmanager.go technical-description
- VulnCheck Advisory: Duplicacy Path Traversal during Restore via Unsanitized Snapshot Paths third-party-advisory