CVE-2022-39347 json
Missing path sanitation with `drive` channel in FreeRDP
published 3y ago modified 4mo ago also EUVD-2022-41819
- cvss
- 2.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing path canonicalization and base path check for `drive` channel. A malicious server can trick a FreeRDP based client to read files outside the shared directory. 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`, `/drives` or `+home-drive` redirection switch.
Patch / fix
- freerdp freerdp 2.9.0
- freerdp2 Debian 12 2.9.0+dfsg1-1
debian advisories DEBIAN-CVE-2022-39347
- freerdp2 Ubuntu 18.04 LTS 2.2.0+dfsg1-0ubuntu0.18.04.4
- freerdp2 Ubuntu 20.04 LTS 2.2.0+dfsg1-0ubuntu0.20.04.4
- freerdp2 Ubuntu 22.04 LTS 2.6.1+dfsg1-3ubuntu2.3
ubuntu advisories UBUNTU-CVE-2022-39347
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-39347
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-39347 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 FencerVendor 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-39347 updated cvss 4.8
freerdp: missing path sanitation with `drive` channel
-
Red Hat Enterprise Linux 6 freerdp, freerdp-libs, freerdp-plugins Red Hat Enterprise Linux 7 freerdp, libwinpr, freerdp-libs, freerdp-pluginsaffected: workaround, no fix planned “Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.”
-
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.el8fixed: vendor fix “Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.” 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.el9fixed: vendor fix “Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.” 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.el8fixed: vendor fix “Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.” 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.el9fixed: vendor fix “Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.” 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
Exploit prediction
0.99% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 2.6 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N |
Affected products
- FreeRDP FreeRDP
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/FreeRDP/FreeRDP/commit/027424c2c6c0991cb9c22f9511478229c9b17e5d
patch, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UDOTAOJBCZKREZJPT6VZ25GESI5T6RBG/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/YGQN3OWQNHSMWKOF4D35PF5ASKNLC74B/
vendor-advisory
-
security.gentoo.org
/glsa/202401-16
vendor-advisory
-
github.com
/FreeRDP/FreeRDP/security/advisories/GHSA-c5xq-8v35-pffg
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2023/11/msg00010.html
mailing-list
- lists.debian.org /debian-lts-announce/2025/02/msg00016.html
Sources
- CVE List CVE-2022-39347
- NVD CVE-2022-39347
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.