Vulnerability · Published Nov 16, 2022 · Assigned by GitHub_M

CVE-2022-39347Missing path sanitation with `drive` channel in FreeRDP

Low 2.6

In plain English

A low-severity path traversal 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 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)2.6Low
Exploit odds (30 days)1.0%top 37.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8freerdp2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux:9freerdp2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux:8freerdp-devel2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux:9freerdp-devel2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux:8freerdp-libs2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux:9freerdp-libs2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux:8libwinpr2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux:9libwinpr2:2.4.1-5.el9ALSA-2023:2326
AlmaLinux:8libwinpr-devel2:2.2.0-10.el8ALSA-2023:2851
AlmaLinux:9libwinpr-devel2:2.4.1-5.el9ALSA-2023:2326
Alpine:v3.20freerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.21freerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.22freerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.23freerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.24freerdp2.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.22freerdp22.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.23freerdp22.9.0-r0ALPINE-CVE-2022-39347
Alpine:v3.24freerdp22.9.0-r0ALPINE-CVE-2022-39347
Debian:12freerdp22.9.0+dfsg1-1DEBIAN-CVE-2022-39347
Rocky Linux:8freerdp2:2.2.0-10.el8RLSA-2023:2851
Ubuntu:22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.3UBUNTU-CVE-2022-39347
Ubuntu:22.04:LTSfreerdp22.6.1+dfsg1-3ubuntu2.3USN-5734-1

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 2.9.0

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N

References