Vulnerability · Published Jan 19, 2024 · Assigned by GitHub_M
CVE-2024-22211FreeRDP integer Overflow leading to Heap Overflow
Low 3.7
In plain English
A low-severity integer overflow in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FreeRDP is a set of free and open source remote desktop protocol library and clients. In affected versions an integer overflow in `freerdp_bitmap_planar_context_reset` leads to heap-buffer overflow. This affects FreeRDP based clients. FreeRDP based server implementations and proxy are not affected. A malicious server could prepare a `RDPGFX_RESET_GRAPHICS_PDU` to allocate too small buffers, possibly triggering later out of bound read/write. Data extraction over network is not possible, the buffers are used to display an image. This issue has been addressed in version 2.11.5 and 3.2.0. Users are advised to upgrade. there are no know workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | freerdp | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.21 | freerdp | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.22 | freerdp | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.23 | freerdp | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.24 | freerdp | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.22 | freerdp2 | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.23 | freerdp2 | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Alpine:v3.24 | freerdp2 | 2.11.5-r0 | ALPINE-CVE-2024-22211 |
| Debian:12 | freerdp2 | 2.11.7+dfsg1-6~deb12u1 | DEBIAN-CVE-2024-22211 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.6 | UBUNTU-CVE-2024-22211 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.6 | USN-6749-1 |
Affected products (as reported)
Weakness: CWE-190, CWE-122 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:L
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rjhp-44rv-7v59 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/939e922936e9c3ae8fc204968645e5e7563a2fff x_refsource_MISC
- https://github.com/FreeRDP/FreeRDP/commit/aeac3040cc99eeaff1e1171a822114c857b9dca9 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PIQE3YSPOJPAUS7DPWIBTR5IQSQX35VM/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/44VOA5KQQT7KQPW7CLST4Y4SQTKK3IOU/
- https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html