Skip to content

Improper region checks in all clients allow out of bound write to memory

Moderate
akallabeth published GHSA-7c9r-6r2q-93qg Oct 21, 2021

Package

No package listed

Affected versions

<= 2.4.0

Patched versions

2.4.1

Description

Impact

A malicious server might trigger out of bound writes in a connected client.

Connections using GDI or SurfaceCommands to send graphics updates to the client might send 0 width/height or out of bound rectangles to trigger out of bound writes.
With 0 width or heigth the memory allocation will be 0 but the missing bounds checks allow writing to the pointer at this (not allocated) region.

Patches

FreeRDP 2.4.1

Reported by Sunglin from the Knownsec 404 team & 0103 sec team

For more information

If you have any questions or comments about this advisory:

Severity

Moderate

CVE ID

CVE-2021-41160

Weaknesses

No CWEs