Vulnerability · Published Apr 23, 2024 · Assigned by GitHub_M
CVE-2024-32662FreeRDP rdp_redirection_read_base64_wchar out of bound read
High 7.5
In plain English
A high-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 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FreeRDP is a free implementation of the Remote Desktop Protocol. FreeRDP based clients prior to version 3.5.1 are vulnerable to out-of-bounds read. This occurs when `WCHAR` string is read with twice the size it has and converted to `UTF-8`, `base64` decoded. The string is only used to compare against the redirection server certificate. Version 3.5.1 contains a patch for the issue. No known workarounds are available.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:13 | freerdp3 | 3.5.1+dfsg1-1 | DEBIAN-CVE-2024-32662 |
| Debian:14 | freerdp3 | 3.5.1+dfsg1-1 | DEBIAN-CVE-2024-32662 |
| Ubuntu:24.04:LTS | freerdp3 | 3.5.1+dfsg1-0ubuntu1 | USN-6759-1 |
| Ubuntu:24.04:LTS | freerdp3 | 3.5.1+dfsg1-0ubuntu1 | UBUNTU-CVE-2024-32662 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vffh-j6hh-95f4 x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/626d10a94a88565d957ddc30768ed08b320049a7 x_refsource_MISC
- https://oss-fuzz.com/testcase-detail/4985227207311360 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZKI4UISUXYNBPN4K6TIQKDRTIJ6CDCKJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7SIS6NUNLUBOV4CPCSWKDE6T6C2W3WTR/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PX3U6YPZQ7PEJBVKSBUOLWVH7DHROHY5/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5JL476WVJSIE7SBUKVJRVA6A52V2HOLZ/