CVE-2024-32662FreeRDP rdp_redirection_read_base64_wchar out of bound read
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.
What to do
Fixed builds are available from Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | freerdp3 | Fixed | 3.5.1+dfsg1-0ubuntu1 | UBUNTU-CVE-2024-32662 |
| Ubuntu 22.04 | freerdp2 | Not affected vulnerable_code_not_present | ||
| Debian 14 | freerdp3 | Fixed | 3.5.1+dfsg1-1 | DEBIAN-CVE-2024-32662 |
| Debian 13 | freerdp3 | Fixed | 3.5.1+dfsg1-1 | DEBIAN-CVE-2024-32662 |
| Red Hat Enterprise Linux 10 | freerdp | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-libs | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp-server | Not affected | ||
| Red Hat Enterprise Linux 10 | freerdp2 | Not affected | ||
| Red Hat Enterprise Linux 10 | libwinpr | Not affected | ||
| Red Hat Enterprise Linux 10 | libwinpr-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | freerdp-devel | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | freerdp-libs | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | libwinpr | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 9 | libwinpr-devel | Fixed | 2:2.11.7-1.el9 | RHSA-2024:9092 |
| Red Hat Enterprise Linux 8 | freerdp | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | freerdp-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | freerdp-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libwinpr | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | libwinpr-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 7 | freerdp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | freerdp-plugins | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libwinpr | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | libwinpr-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | freerdp-plugins | Will not fix Out of support scope | ||
| Rocky Linux 9 | freerdp | Fixed | 2:2.11.7-1.el9 | RLSA-2024:9092 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- FreeRDP: affected: < 3.5.1
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-vffh-j6hh-95f4
- https://github.com/FreeRDP/FreeRDP/commit/626d10a94a88565d957ddc30768ed08b320049a7
- https://oss-fuzz.com/testcase-detail/4985227207311360
- 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/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.