Vulnerability · Published Aug 31, 2023 · Assigned by GitHub_M

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

Medium 5.3

In plain English

A medium-severity out-of-bounds read in FreeRDP from FreeRDP. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 79% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)1.8%top 21.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9freerdp2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux:9freerdp-devel2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux:9freerdp-libs2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux:9libwinpr2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux:9libwinpr-devel2:2.11.2-1.el9ALSA-2024:2208
Debian:12freerdp22.11.7+dfsg1-6~deb12u1DEBIAN-CVE-2023-39356
Ubuntu:22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.5USN-6522-1
Ubuntu:22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.5UBUNTU-CVE-2023-39356

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 2.11.0>= 3.0.0-beta1, < 3.0.0-beta3

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References