Bug 2143644 (CVE-2022-39318)

Summary: CVE-2022-39318 freerdp: division by zero in urbdrc channel
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: oholy
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: freerdp 2.9.0 Doc Type: If docs needed, set a value
Doc Text:
A division-by-zero issue was found in FreeRDP's libusb_udevice.c in the urbdrc channel. This flaw exists due to missing input validation in the urbdrc channel. A malicious server can pass specially crafted data to the client, causing a crash and denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 21:14:27 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: 2143662, 2143664, 2143669, 2143673, 2145139, 2145140    
Bug Blocks: 2143404    

Description TEJ RATHI 2022-11-17 13:37:14 UTC
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input validation in `urbdrc` channel. A malicious server can trick a FreeRDP based client to crash with division by zero. This issue has been addressed in version 2.9.0. All users are advised to upgrade. Users unable to upgrade should not use the `/usb` redirection switch.

https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-387j-8j96-7q35

Comment 1 TEJ RATHI 2022-11-17 13:51:28 UTC
Created freerdp tracking bugs for this issue:

Affects: fedora-35 [bug 2143664]
Affects: fedora-36 [bug 2143669]
Affects: fedora-37 [bug 2143673]


Created freerdp1.2 tracking bugs for this issue:

Affects: epel-7 [bug 2143662]

Comment 4 errata-xmlrpc 2023-05-09 07:29:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:2326 https://access.redhat.com/errata/RHSA-2023:2326

Comment 5 errata-xmlrpc 2023-05-16 08:20:24 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2023:2851 https://access.redhat.com/errata/RHSA-2023:2851

Comment 6 Product Security DevOps Team 2023-05-16 21:14:25 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-39318