Bug 1994988 (CVE-2021-38173)

Summary: CVE-2021-38173 btrbk: remote execution in ssh_filter_btrbk.sh
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: igor.raits, mike
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-18 13:28:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1994989, 1994990    
Bug Blocks:    

Description Marian Rehak 2021-08-18 09:17:50 UTC
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.

https://github.com/digint/btrbk/commit/58212de771c381cd4fa05625927080bf264e9584
https://github.com/digint/btrbk/blob/master/ChangeLog

Comment 1 Marian Rehak 2021-08-18 09:18:38 UTC
Created btrbk tracking bugs for this issue:

Affects: epel-7 [bug 1994990]
Affects: fedora-all [bug 1994989]

Comment 2 Product Security DevOps Team 2021-08-18 13:28:38 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.