Skip to content
Fencer Intel
medium 4.6

CVE-2022-41877 json

Missing input length validation in `drive` channel in FreeRDP

published 3y ago modified 4mo ago also EUVD-2022-45039

cvss
4.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.8%
EPSS 0.8% chance of exploitation in 30 days, percentile 56%
public exploits
0
none known

Summary

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`.

Patch / fix

  • freerdp freerdp 2.9.0
  • freerdp2 Debian 12 2.9.0+dfsg1-1

debian advisories DEBIAN-CVE-2022-41877

  • freerdp2 Ubuntu 20.04 LTS 2.2.0+dfsg1-0ubuntu0.20.04.6
  • freerdp2 Ubuntu 22.04 LTS 2.6.1+dfsg1-3ubuntu2.5
  • freerdp2 Ubuntu Pro 18.04 LTS 2.2.0+dfsg1-0ubuntu0.18.04.4+esm2

ubuntu advisories UBUNTU-CVE-2022-41877

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • freerdp RHEL 8 2:2.2.0-10.el8
  • libwinpr RHEL 8 2:2.2.0-10.el8
  • freerdp-libs RHEL 8 2:2.2.0-10.el8
  • freerdp RHEL 9 2:2.4.1-5.el9
  • libwinpr RHEL 9 2:2.4.1-5.el9
  • freerdp-libs RHEL 9 2:2.4.1-5.el9

red hat advisories RHSA-2023:2851RHSA-2023:2326

  • freerdp SLE Workstation Extension 12 SP5, SLE Software Development Kit 12 SP5 2.1.2-12.35.1
  • freerdp SLE Workstation Extension 15 SP4, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.4 2.4.0-150400.3.18.1

suse advisories SUSE-SU-2023:0400-1SUSE-SU-2023:0399-1

  • freerdp AlmaLinux 8 2:2.2.0-10.el8
  • libwinpr AlmaLinux 8 2:2.2.0-10.el8
  • freerdp-libs AlmaLinux 8 2:2.2.0-10.el8
  • freerdp AlmaLinux 9 2:2.4.1-5.el9
  • libwinpr AlmaLinux 9 2:2.4.1-5.el9
  • freerdp-libs AlmaLinux 9 2:2.4.1-5.el9

almalinux advisories ALSA-2023:2851ALSA-2023:2326

  • freerdp Rocky Linux 8 2:2.2.0-10.el8

rocky linux advisories RLSA-2023:2851

  • freerdp Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 2.9.0-r0
  • freerdp2 Alpine 3.24, Alpine 3.23, Alpine 3.22 2.9.0-r0

alpine advisories ALPINE-CVE-2022-41877

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Is CVE-2022-41877 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-41877 updated cvss 3.7

freerdp: missing input length validation in `drive` channel

  • Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-plugins
    affected: workaround, no fix planned “Do not use the drive redirection channel - command line options /drive, +drives or +home-drive.”
  • Red Hat Enterprise Linux AppStream (v. 8) freerdp 2.2.0-10.el8, libwinpr 2.2.0-10.el8, freerdp-libs 2.2.0-10.el8
    fixed: vendor fix “Do not use the drive redirection channel - command line options /drive, +drives or +home-drive.” RHSA-2023:2851
  • Red Hat Enterprise Linux AppStream (v. 9) freerdp 2.4.1-5.el9, libwinpr 2.4.1-5.el9, freerdp-libs 2.4.1-5.el9
    fixed: vendor fix “Do not use the drive redirection channel - command line options /drive, +drives or +home-drive.” RHSA-2023:2326
  • Red Hat Enterprise Linux CRB (v. 8) freerdp-devel 2.2.0-10.el8, freerdp-debuginfo 2.2.0-10.el8, libwinpr-debuginfo 2.2.0-10.el8, freerdp-debugsource 2.2.0-10.el8, freerdp-libs-debuginfo 2.2.0-10.el8
    fixed: vendor fix “Do not use the drive redirection channel - command line options /drive, +drives or +home-drive.” RHSA-2023:2851
  • Red Hat Enterprise Linux CRB (v. 9) freerdp-devel 2.4.1-5.el9, libwinpr-devel 2.4.1-5.el9, freerdp-debuginfo 2.4.1-5.el9, libwinpr-debuginfo 2.4.1-5.el9, freerdp-debugsource 2.4.1-5.el9, freerdp-libs-debuginfo 2.4.1-5.el9
    fixed: vendor fix “Do not use the drive redirection channel - command line options /drive, +drives or +home-drive.” RHSA-2023:2326

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2y ago

Exploit prediction

0.80% chance of exploitation in the next 30 days, higher than 56% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CNA 3.1 4.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD 3.1 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L

Affected products

  • FreeRDP FreeRDP

Classification

Weakness
  • CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
  • CWE-1284 Improper Validation of Specified Quantity in Input

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.