cve.bz

CVE-2022-39347 Path traversal

5.7 mediumEPSS 1.2%Fix available

Medium (5.7). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.7 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
EPSS
1.2% (unchanged from 1.2% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 70th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-39347 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-39347?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-39347?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-39347 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freerdp:freerdpbefore 2.9.0
fedoraproject:fedora36
fedoraproject:fedora37

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10freerdp22.3.0+dfsg1-2+deb10u4DLA-3654-1
Debian11freerdp22.3.0+dfsg1-2+deb11u2DLA-4053-1
Debian12freerdp22.9.0+dfsg1-1DEBIAN-CVE-2022-39347
Ubuntu16.04:LTS, 18.04:LTSfreerdpno fix listedUBUNTU-CVE-2022-39347
Ubuntu18.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.18.04.4UBUNTU-CVE-2022-39347 USN-5734-1
Ubuntu20.04:LTSfreerdp22.2.0+dfsg1-0ubuntu0.20.04.4UBUNTU-CVE-2022-39347 USN-5734-1
Ubuntu22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.3UBUNTU-CVE-2022-39347 USN-5734-1
Red Hatenterprise_linux:8::appstreamfreerdp, libwinpr, freerdp-libs and 5 more2:2.2.0-10.el8RHSA-2023:2851
Red Hatenterprise_linux:8::crbfreerdp-devel, freerdp-debuginfo, libwinpr-debuginfo and 2 more2:2.2.0-10.el8RHSA-2023:2851
Red Hatenterprise_linux:9::appstreamfreerdp, libwinpr, freerdp-libs and 4 more2:2.4.1-5.el9RHSA-2023:2326
Red Hatenterprise_linux:9::crbfreerdp-devel, libwinpr-devel, freerdp-debuginfo and 3 more2:2.4.1-5.el9RHSA-2023:2326
SUSELinux Enterprise Module for Package Hub 15 SP4, Linux Enterprise Workstation Extension 15 SP4freerdp2.4.0-150400.3.18.1SUSE-SU-2023:0399-1
SUSELinux Enterprise Software Development Kit 12 SP5, Linux Enterprise Workstation Extension 12 SP5freerdp2.1.2-12.35.1SUSE-SU-2023:0400-1
openSUSELeap 15.4freerdp2.4.0-150400.3.18.1SUSE-SU-2023:0399-1
AlmaLinux8freerdp, libwinpr, freerdp-libs and 2 more2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux9freerdp, libwinpr, freerdp-libs and 2 more2:2.4.1-5.el9ALSA-2023:2326
Rocky Linux8freerdp2:2.2.0-10.el8RLSA-2023:2851
Alpinev3.17, v3.18, v3.19 and 2 morefreerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpinev3.22, v3.23, v3.24freerdp, freerdp22.9.0-r0ALPINE-CVE-2022-39347

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

Users who are unable to upgrade should not use the /drive, /drives or +home-drive redirection switches.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8freerdp-2:2.2.0-10.el8Fixed 2023-05-16RHSA-2023:2851
Red Hat Enterprise Linux 9freerdp-2:2.4.1-5.el9Fixed 2023-05-09RHSA-2023:2326
Red Hat Enterprise Linux 6freerdpOut of support scope
Red Hat Enterprise Linux 7freerdpOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-39347.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON