Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| gilbertchen / duplicacy | affected 0 through 3.2.5 |
CWE
CWE-22
References
- https://github.com/gilbertchen/duplicacy/issues/692
- https://github.com/gilbertchen/duplicacy
- https://github.com/gilbertchen/duplicacy/blob/54f97522bff9df8be6797873203310ccbf5a5b00/src/duplicacy_utils_others.go
- https://github.com/gilbertchen/duplicacy/blob/54f97522bff9df8be6797873203310ccbf5a5b00/src/duplicacy_backupmanager.go
- https://www.vulncheck.com/advisories/duplicacy-path-traversal-during-restore-via-unsanitized-snapshot-paths
ADP enrichment
No English description supplied.
No references supplied.