Bug 2049507 (CVE-2022-21696)

Summary: CVE-2022-21696 onionshare: improper input validation
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: mail, pj.pandit
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: onionshare 2.5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-02 12:31:13 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: 2049508    
Bug Blocks:    

Description Marian Rehak 2022-02-02 11:19:05 UTC
In affected versions it is possible to change the username to that of another chat participant with an additional space character at the end of the name string. An adversary with access to the chat environment can use the rename feature to impersonate other participants by adding whitespace characters at the end of the username.

Reference:

https://github.com/onionshare/onionshare/security/advisories/GHSA-68vr-8f46-vc9f

Comment 1 Marian Rehak 2022-02-02 11:19:19 UTC
Created onionshare tracking bugs for this issue:

Affects: fedora-all [bug 2049508]

Comment 2 Product Security DevOps Team 2022-02-02 12:31:11 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.