Vulnerability · Published Aug 31, 2023 · Assigned by GitHub_M
CVE-2023-39352Invalid offset validation leading to Out Of Bound Write in FreeRDP
Medium 5.3
In plain English
A medium-severity out-of-bounds write 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 75% 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 invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should 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 vulnerability.
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-39352 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.5 | USN-6522-1 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.5 | UBUNTU-CVE-2023-39352 |
Affected products (as reported)
Weakness: CWE-787 · 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-whwr-qcf2-2mvj x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/blob/63a2f65618748c12f79ff7450d46c6e194f2db76/libfreerdp/gdi/gfx.c#L1219-L1239 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