Vulnerability · Published Aug 31, 2023 · Assigned by GitHub_M
CVE-2023-40188Out-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.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 `general_LumaToYUV444` function. This Out-Of-Bounds Read occurs because processing is done on the `in` variable without checking if it contains data of sufficient length. Insufficient data for the `in` variable may cause errors or crashes. 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | freerdp | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux:9 | freerdp-devel | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux:9 | freerdp-libs | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux:9 | libwinpr | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| AlmaLinux:9 | libwinpr-devel | 2:2.11.2-1.el9 | ALSA-2024:2208 |
| Debian:12 | freerdp2 | 2.11.7+dfsg1-6~deb12u1 | DEBIAN-CVE-2023-40188 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.4 | USN-6401-1 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.4 | UBUNTU-CVE-2023-40188 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-9w28-wwj5-p4xq x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/nsc.c#L115-L175 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/
- https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html
- https://security.gentoo.org/glsa/202401-16
- https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html