CVE-2022-39318 Division by zero in urbdrc channel in FreeRDP

Medium 4.8 Published Updated

A malicious server can crash FreeRDP clients via division by zero in the urbdrc channel, requiring USB redirection to be enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-39318?

CVE-2022-39318 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 16 Nov 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-369, CWE-20

Which versions are affected by CVE-2022-39318?

It affects 2 products.

Products include Fedoraproject Fedora, Freerdp Freerdp.

How do I fix CVE-2022-39318?

Upgrade to a fixed version.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2022-39318 being exploited?

There is no known exploitation of CVE-2022-39318 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as CLEANSTART-2024-HL94029, DEBIAN-CVE-2022-39318, GHSA-387j-8j96-7q35, UBUNTU-CVE-2022-39318.

Is CVE-2022-39318 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free