Improper Input Validation Affecting borgbackup package, versions [,1.0.7)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-BORGBACKUP-6226599
- published 2 Feb 2024
- disclosed 1 Feb 2024
- credit ThomasWaldmann
How to fix?
Upgrade borgbackup to version 1.0.7 or higher.
Overview
Affected versions of this package are vulnerable to Improper Input Validation leading to insecure path manipulation.
When using e.g. --restrict-to-path /path/client1/ (with or without trailing slash does not make a difference), this acts like a path prefix match using /path/client1 (note the missing trailing slash).
References
CVSS Scores
version 3.1