CVE-2023-36811
published medium CVSS 3.1 · 4.7Archive spoofing vulnerability in borgbackup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| borgbackup | — | borg< 1.2.5 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackupaarch64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| Alpine Linux | v3.18 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| Alpine Linux | v3.19 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| Alpine Linux | v3.20 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| Alpine Linux | v3.21 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| Alpine Linux | v3.22 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| Alpine Linux | v3.24 | borgbackup | Fixed | 1.2.6-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackupppc64le | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackups390x | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackupx86_64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-bash-completionaarch64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-bash-completionppc64le | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-bash-completions390x | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-bash-completionx86_64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-docaarch64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-docppc64le | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-docs390x | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-docx86_64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-fish-completionaarch64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-fish-completionppc64le | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-fish-completions390x | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-fish-completionx86_64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-zsh-completionaarch64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-zsh-completionppc64le | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-zsh-completions390x | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | borgbackup-zsh-completionx86_64 | Advisory build | 1.2.6-1.1 | OPENSUSE-SU-2024:13316-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| borgbackup | borg | < 1.2.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
6- https://github.com/borgbackup/borg/blob/1.2.5-cvedocs/docs/changes.rst#pre-125-archives-spoofing-vulnerability-cve-2023-36811
- https://github.com/borgbackup/borg/commit/3eb070191da10c2d3f7bc6484cf3d51c3045f884
- https://github.com/borgbackup/borg/security/advisories/GHSA-8fjr-hghr-4m99
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5Q3OHXERTU547SEQ3YREZXHOCYNLVD63/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XOZDFIYEBIOKSIEAXUJJJFUJTAJ7TF3C/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZUCQSMAWOJBCRGF6XPKEZ2TPGAPNKIWV/
Provider assertions
3GitHub_M · cna
Archive spoofing vulnerability in borgbackup
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 646b14bb933ab9fae2e02e3fbf78b2d0bdb7af03eb8d56cd6d0d5df73b9d9dfc
- Ingested
- 23 Sep 2026, 08:10:01 UTC
- Source record
- Official CVE record