Vulnerability · Published Nov 16, 2022 · Assigned by GitHub_M
CVE-2022-41877Missing input length validation in `drive` channel in FreeRDP
Medium 4.6
In plain English
A medium-severity memory corruption 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 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing input length validation in `drive` channel. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. This issue has been addressed in version 2.9.0 and all users are advised to upgrade. Users unable to upgrade should not use the drive redirection channel - command line options `/drive`, `+drives` or `+home-drive`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | freerdp | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | freerdp-devel | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp-devel | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | freerdp-libs | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp-libs | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | libwinpr | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | libwinpr | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | libwinpr-devel | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | libwinpr-devel | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| Alpine:v3.20 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.21 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.22 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.23 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.24 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.22 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.23 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Alpine:v3.24 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-41877 |
| Debian:12 | freerdp2 | 2.9.0+dfsg1-1 | DEBIAN-CVE-2022-41877 |
| Rocky Linux:8 | freerdp | 2:2.2.0-10.el8 | RLSA-2023:2851 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.5 | UBUNTU-CVE-2022-41877 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.5 | USN-6522-1 |
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pmv3-wpw4-pw5h
- https://github.com/FreeRDP/FreeRDP/commit/6655841cf2a00b764f855040aecb8803cfc5eaba
- FEDORA-2022-fd6e43dec8 vendor-advisory
- FEDORA-2022-076b1c9978 vendor-advisory
- [debian-lts-announce] 20231117 [SECURITY] [DLA 3654-1] freerdp2 security update mailing-list
- GLSA-202401-16 vendor-advisory
- https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html