Vulnerability · Published Nov 16, 2022 · Assigned by GitHub_M
CVE-2022-39317Out of bounds read in zgfx decoder in FreeRDP
Medium 4.6
In plain English
A medium-severity out-of-bounds read 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 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP are missing a range check for input offset index in ZGFX decoder. A malicious server can trick a FreeRDP based client to read out of bound data and try to decode it. This issue has been addressed in version 2.9.0. There are no known workarounds for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | freerdp | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | freerdp-devel | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp-devel | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | freerdp-libs | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | freerdp-libs | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | libwinpr | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | libwinpr | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| AlmaLinux:8 | libwinpr-devel | 2:2.2.0-10.el8 | ALSA-2023:2851 |
| AlmaLinux:9 | libwinpr-devel | 2:2.4.1-5.el9 | ALSA-2023:2326 |
| Alpine:v3.20 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.21 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.22 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.23 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.24 | freerdp | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.22 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.23 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Alpine:v3.24 | freerdp2 | 2.9.0-r0 | ALPINE-CVE-2022-39317 |
| Debian:12 | freerdp2 | 2.9.0+dfsg1-1 | DEBIAN-CVE-2022-39317 |
| Rocky Linux:8 | freerdp | 2:2.2.0-10.el8 | RLSA-2023:2851 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.3 | UBUNTU-CVE-2022-39317 |
| Ubuntu:22.04:LTS | freerdp2 | 2.6.1+dfsg1-3ubuntu2.3 | USN-5734-1 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-99cm-4gw7-c8jh
- FEDORA-2022-fd6e43dec8 vendor-advisory
- FEDORA-2022-076b1c9978 vendor-advisory
- GLSA-202401-16 vendor-advisory