CVE-2021-38173
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering...
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used 9.8
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
CVE-2021-38173- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-77
- Updated
- 2026-11-02
CVE ListNo score
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
CVE-2021-38173- Updated
- 2026-11-02
EUVDEUVD-2021-24643No score
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
EUVD-2021-24643- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c38g-xjq6-3v46 9.8
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering...
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
GHSA-c38g-xjq6-3v46- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-77
- Updated
- 2026-11-02
OSV 9.8
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
CVE-2021-38173- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-38173 9.8
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
DEBIAN-CVE-2021-38173- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-38173 9.8
Btrbk before 0.31.2 allows command execution because of the mishandling of remote hosts filtering SSH commands using ssh_filter_btrbk.sh in authorized_keys.
- Record
UBUNTU-CVE-2021-38173- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-12
OSVUSN-9049-1No score
btrbk vulnerability
It was discovered that btrbk incorrectly filtered SSH commands received from remote hosts. A remote attacker could possibly use this issue to execute arbitrary commands.
- Record
USN-9049-1- Updated
- 2026-11-12
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
btrbkDebian:12 | before 0.27.1-2 | 0.27.1-2 |
btrbkDebian:13 | before 0.27.1-2 | 0.27.1-2 |
btrbkDebian:14 | before 0.27.1-2 | 0.27.1-2 |
btrbkDebian:9 | before 0.24.0-1+deb9u1, plus listed versions 0.24.0-1 | 0.24.0-1+deb9u1 |
btrbkUbuntu:Pro:18.04:LTS | before 0.26.0-1ubuntu0.1~esm1, plus listed versions 0.25.1-10.26.0-1 | 0.26.0-1ubuntu0.1~esm1 |
btrbkUbuntu:Pro:20.04:LTS | before 0.27.1-1ubuntu0.1~esm1, plus listed versions 0.27.1-1 | 0.27.1-1ubuntu0.1~esm1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, aliases, facts, references | OSV | |
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-38173 is a critical vulnerability (CVSS 9.8) in Digint Btrbk, published August 7, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.16%, the 88th percentile. Fixed in btrbk 0.27.1-2.
References
github.com/digint/btrbk/commit/58212de771c381cd4fa05625927080bf264e9584
github.com/digint/btrbk/blob/master/ChangeLog
lists.debian.org/debian-lts-announce/2021/09/msg00002.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LM7GLTUN5YS4KE2RNBX732EAMVVGNEX3
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BP2T32JMENJFRP2HWXR7FTTZVRTTPECL
nvd.nist.gov/vuln/detail/CVE-2021-38173
Show 7 moreShow less
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BP2T32JMENJFRP2HWXR7FTTZVRTTPECL
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LM7GLTUN5YS4KE2RNBX732EAMVVGNEX3
github.com/advisories/GHSA-c38g-xjq6-3v46
security-tracker.debian.org/tracker/CVE-2021-38173
ubuntu.com/security/CVE-2021-38173
cve.org/CVERecord?id=CVE-2021-38173
ubuntu.com/security/notices/USN-9049-1