CVE-2022-39347
Missing path sanitation with `drive` channel in FreeRDP
Reported by github_m · Published November 16, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libwinpr | errata.rockylinux.org | 2.2.0-10.el8.x86, 2.2.0-10.el8.i686, 2.2.0-10.el8.aarch64 |
| libwinpr-devel | Amazon Linux | 2:2.2.0-10.amzn2.0.1 |
| libwinpr-debuginfo | errata.rockylinux.org | 2.2.0-10.el8.aarch64 |
| freerdp | errata.rockylinux.org | 2.2.0-10.el8.x86, 2.2.0-10.el8.src |
| libwinpr-devel | errata.rockylinux.org | 2.2.0-10.el8.aarch64 |
| freerdp | Alpine | 2.9.0-r0 |
| freerdp | freerdp | 2.9.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 2.9.0 |
| amazon:2 | libwinpr-devel | 0 |
| alpine | freerdp | 0 |
| FreeRDP | FreeRDP | 0 |
| amazon:2 | freerdp-devel | 0 |
| amazon:2 | freerdp | 0 |
| amazon:2 | freerdp-libs | 0 |
| alpine | freerdp2 | 0 |
| amazon:2 | libwinpr | 0 |
Timeline
- Nov 16, 2022 CVE Published
- Nov 17, 2022 EPSS Score (30 in total, the first dated here)
- Nov 3, 2025 CVE Updated
- Mar 10, 2026 Security Advisory (42 in total, the first dated here)
- Mar 21, 2026 Distribution Patch (40 in total, the first dated here)
- Jun 17, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-39347
vulnetix vdb fixes CVE-2022-39347
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-39347/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 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 url