CVE-2023-39356 Missing offset validation leading to Out-of-Bounds Read in FreeRDP

Medium 5.3 Published Updated

An attacker can cause a crash in FreeRDP by triggering an out-of-bounds read due to missing offset validation in the gdi_multi_opaque_rect function.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-39356?

CVE-2023-39356 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 31 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a missing offset validation may lead to an Out Of Bound Read in the function `gdi_multi_opaque_rect`. In particular there is no code to validate if the value `multi_opaque_rect->numRectangles` is less than 45. Looping through `multi_opaque_rect->`numRectangles without proper boundary checks can lead to Out-of-Bounds Read errors which will likely lead to a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-125

Which versions are affected by CVE-2023-39356?

It affects 3 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Freerdp Freerdp.

How do I fix CVE-2023-39356?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-39356 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-39356, GHSA-q5v5-qhj5-mh6m, UBUNTU-CVE-2023-39356.

Is CVE-2023-39356 in your software?

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

Check your SBOMs for free