Out-of-bounds Read Affecting freerdp package, versions <2.4.0-150400.3.23.1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES154-FREERDP-6131162
- published 19 Dec 2023
- disclosed 18 Dec 2023
Introduced: 18 Dec 2023
CVE-2023-40576 Open this link in a new tabHow to fix?
Upgrade SLES:15.4 freerdp to version 2.4.0-150400.3.23.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream freerdp package and not the freerdp package as distributed by SLES.
See How to fix? for SLES:15.4 relevant fixed versions and status.
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an Out-Of-Bounds Read in the RleDecompress function. This Out-Of-Bounds Read occurs because FreeRDP processes the pbSrcBuffer variable without checking if it contains data of sufficient length. Insufficient data in the pbSrcBuffer variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
References
- https://www.suse.com/security/cve/CVE-2023-40576.html
- https://bugzilla.suse.com/1214871
- https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/include/bitmap.c#L94-L113
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-x3x5-r7jm-5pq2
- https://security.gentoo.org/glsa/202401-16