Bug 2022098 (CVE-2021-42073)

Summary: CVE-2021-42073 barrier: knowing a valid client name allows information leaks and server manipulation
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: dchen
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-11-10 18:57:41 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: 2022099, 2022100    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-11-10 18:33:38 UTC
An issue was discovered in Barrier before 2.4.0. An attacker can enter an active session state with the barriers component (aka the server-side implementation of Barrier) simply by supplying a client label that identifies a valid client configuration. This label is "Unnamed" by default but could instead be guessed from hostnames or other publicly available information. In the active session state, an attacker can capture input device events from the server, and also modify the clipboard content on the server.

References:
https://github.com/debauchee/barrier/releases/tag/v2.4.0
http://www.openwall.com/lists/oss-security/2021/11/02/4

Comment 1 Guilherme de Almeida Suckevicz 2021-11-10 18:33:54 UTC
Created barrier tracking bugs for this issue:

Affects: epel-8 [bug 2022100]
Affects: fedora-all [bug 2022099]

Comment 2 Product Security DevOps Team 2021-11-10 18:57:40 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.