CVE Vulnerabilities

CVE-2020-11038

Integer Overflow to Buffer Overflow

Published: May 29, 2020 | Modified: Nov 21, 2024
CVSS 3.x
5.4
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
CVSS 2.x
5.5 MEDIUM
AV:N/AC:L/Au:S/C:N/I:P/A:P
RedHat/V2
RedHat/V3
5.4 LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In FreeRDP less than or equal to 2.0.0, an Integer Overflow to Buffer Overflow exists. When using /video redirection, a manipulated server can instruct the client to allocate a buffer with a smaller size than requested due to an integer overflow in size calculation. With later messages, the server can manipulate the client to write data out of bound to the previously allocated buffer. This has been patched in 2.1.0.

Weakness

The product performs a calculation to determine how much memory to allocate, but an integer overflow can occur that causes less memory to be allocated than expected, leading to a buffer overflow.

Affected Software

NameVendorStart VersionEnd Version
FreerdpFreerdp*2.1.0 (excluding)
Red Hat Enterprise Linux 7RedHatfreerdp-0:2.1.1-2.el7*
Red Hat Enterprise Linux 8RedHatfreerdp-2:2.1.1-1.el8*
Red Hat Enterprise Linux 8RedHatvinagre-0:3.22.0-23.el8*
FreerdpUbuntutrusty*
Freerdp2Ubuntubionic*
Freerdp2Ubuntueoan*
Freerdp2Ubuntuesm-infra/bionic*
Freerdp2Ubuntuesm-infra/focal*
Freerdp2Ubuntufocal*
Freerdp2Ubuntutrusty*
Freerdp2Ubuntuupstream*

References