CVE-2023-36811

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-36811
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-36811.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-36811
Aliases
Related
Published
2023-08-30T18:15:09Z
Modified
2024-10-12T10:59:32.510319Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

borgbackup is an opensource, deduplicating archiver with compression and authenticated encryption. A flaw in the cryptographic authentication scheme in borgbackup allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. The attack requires an attacker to be able to: 1. insert files (with no additional headers) into backups and 2. gain write access to the repository. This vulnerability does not disclose plaintext to the attacker, nor does it affect the authenticity of existing archives. Creating plausible fake archives may be feasible for empty or small archives, but is unlikely for large archives. The issue has been fixed in borgbackup 1.2.5. Users are advised to upgrade. Additionally to installing the fixed code, users must follow the upgrade procedure as documented in the change log. 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". There are no known workarounds for this vulnerability.

References

Affected packages

Debian:11 / borgbackup

Package

Name
borgbackup
Purl
pkg:deb/debian/borgbackup?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.1.16-3
1.1.17-1
1.1.17-2
1.2.0-1
1.2.1-1
1.2.1-2~bpo11+1
1.2.1-2
1.2.2-1~bpo11+1
1.2.2-1
1.2.2-2
1.2.3-1~bpo11+1
1.2.3-1
1.2.4-1
1.2.4-2
1.2.4-3
1.2.5-1
1.2.5-2
1.2.5-3
1.2.5-4
1.2.6-1
1.2.6-2
1.2.7-1
1.2.7-2~bpo12+1
1.2.7-2
1.2.8-1~bpo12+1
1.2.8-1
1.4.0-1
1.4.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / borgbackup

Package

Name
borgbackup
Purl
pkg:deb/debian/borgbackup?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.4-1
1.2.4-2
1.2.4-3
1.2.5-1
1.2.5-2
1.2.5-3
1.2.5-4
1.2.6-1
1.2.6-2
1.2.7-1
1.2.7-2~bpo12+1
1.2.7-2
1.2.8-1~bpo12+1
1.2.8-1
1.4.0-1
1.4.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / borgbackup

Package

Name
borgbackup
Purl
pkg:deb/debian/borgbackup?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.2.5-1

Affected versions

1.*

1.2.4-1
1.2.4-2
1.2.4-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/borgbackup/borg

Affected ranges

Type
GIT
Repo
https://github.com/borgbackup/borg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.10
0.11
0.12
0.13
0.14
0.15
0.16
0.23.0
0.24.0
0.25.0
0.26.0
0.26.1
0.27.0
0.28.0
0.28.1
0.28.2
0.29.0
0.30.0
0.6
0.6.1
0.7
0.8
0.8.1
0.9

1.*

1.0.0
1.0.0rc1
1.0.0rc2
1.0.1
1.0.10rc1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.6rc1
1.0.7
1.0.7bin
1.0.7rc1
1.0.7rc2
1.0.8
1.0.8rc1
1.0.9
1.0.9rc1
1.1.0.dev0
1.1.0b1
1.1.0b2
1.1.0b3
1.1.0b4
1.1.0b5
1.1.0b6
1.1.0rc1
1.1.dev0
1.2.0
1.2.0a1
1.2.0a2
1.2.0a3
1.2.0a4
1.2.0a5
1.2.0a6
1.2.0a7
1.2.0a8
1.2.0a9
1.2.0b1
1.2.0b2
1.2.0b3
1.2.0b4
1.2.0dev0
1.2.0rc1
1.3.0a1
1.3.0a1.post3
1.3.0dev0

2.*

2.0.0.dev0
2.0.0a2
2.0.0a3
2.0.0a4
2.0.0b1
2.0.0b2
2.0.0b3
2.0.0b4
2.0.0b5
2.0.0b6