Cryptographic Operations are run Before Supporting Units are Ready Affecting borgbackup package, versions [,1.2.5)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (21st percentile)

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 IDSNYK-PYTHON-BORGBACKUP-5876646
  • published31 Aug 2023
  • disclosed30 Aug 2023
  • creditThomasWaldmann

Introduced: 30 Aug 2023

CVE-2023-36811  (opens in a new tab)
CWE-1279  (opens in a new tab)

How to fix?

Upgrade borgbackup to version 1.2.5 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Operations are run Before Supporting Units are Ready due to a flaw in the cryptographic authentication scheme. An attacker can fake archives and potentially indirectly cause backup data loss in the repository by inserting files (with no additional headers) into backups and gaining write access to the repository.

Note:

Data loss after being attacked can be avoided by reviewing the archives (timestamp and contents valid and as expected) after any "borg check --repair" and before "borg prune".

References

CVSS Scores

version 3.1