Improper Input Validation Affecting borgbackup package, versions [,1.0.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-BORGBACKUP-6226599
  • published2 Feb 2024
  • disclosed1 Feb 2024
  • creditThomasWaldmann

Introduced: 1 Feb 2024

CVE NOT AVAILABLE CWE-20  (opens in a new tab)

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).

CVSS Scores

version 3.1