Affected versions
Ubuntu20.04:LTS/freerdp2
- Affected versions
- Unknown
- Fixed version
- 2.2.0+dfsg1-0ubuntu0.20.04.5
Ubuntu22.04:LTS/freerdp2
- Affected versions
- <2.6.1+dfsg1-3ubuntu2.4 || =2.3.0+dfsg1-2build1 || =2.3.0+dfsg1-2ubuntu1 || =2.3.0+dfsg1-2ubuntu2 || =2.4.1+dfsg1-1 || =2.4.1+dfsg1-1ubuntu1 || =2.4.1+dfsg1-1ubuntu2 || =2.5.0+dfsg1-1 || =2.6.0+dfsg1-1 || =2.6.1+dfsg1-1 || =2.6.1+dfsg1-3 || =2.6.1+dfsg1-3ubuntu1 || =2.6.1+dfsg1-3ubuntu2 || =2.6.1+dfsg1-3ubuntu2.1 || =2.6.1+dfsg1-3ubuntu2.2 || =2.6.1+dfsg1-3ubuntu2.3
- Fixed version
- 2.6.1+dfsg1-3ubuntu2.4
UbuntuPro:18.04:LTS/freerdp2
- Affected versions
- Unknown
- Fixed version
- 2.2.0+dfsg1-0ubuntu0.18.04.4+esm1
Description
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Integer-Underflow leading to Out-Of-Bound Read in the zgfx_decompress_segment function. In the context of CopyMemory, it's possible to read data beyond the transmitted packet range and likely cause 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 issue.
Links
- https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L256-L261
- https://github.com/FreeRDP/FreeRDP/blob/2252d53001d9ce8a452f0a0a5b1f5ed9db6d57f1/libfreerdp/codec/zgfx.c#L334-L355
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8
- https://ubuntu.com/security/CVE-2023-40181
- https://ubuntu.com/security/notices/USN-6401-1
- https://www.cve.org/CVERecord?id=CVE-2023-40181

