---
title: "CVE-2022-39320"
canonical_url: "https://pkgseek.com/security/CVE-2022-39320"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2022-39320

FreeRDP is a free remote desktop protocol library and clients. Affected versions of FreeRDP may attempt integer addition on too narrow types leads to allocation of a buffer too small holding the data written. A malicious server can trick a FreeRDP based client to read out of bound data and send it back to the server. 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 \`/usb\` redirection switch.

CVE-2022-39320 严重级别为 MEDIUM (4.6)，共索引 39 条受影响软件包构建记录，涉及 4 个发行版。

- **级别 / 评分**: MEDIUM (4.6)
- **受影响构建数**: 39
- **涉及发行版**: 4
- **已标明修复版本发行版**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | freerdp | 2:2.2.0-7.al8 | 2:2.2.0-10.0.1.al8 |
| Alibaba Cloud Linux | 3 | freerdp-devel | 2:2.2.0-7.al8 | 2:2.2.0-10.0.1.al8 |
| Alibaba Cloud Linux | 3 | freerdp-libs | 2:2.2.0-7.al8 | 2:2.2.0-10.0.1.al8 |
| Alibaba Cloud Linux | 3 | libwinpr | 2:2.2.0-7.al8 | 2:2.2.0-10.0.1.al8 |
| Alibaba Cloud Linux | 3 | libwinpr-devel | 2:2.2.0-7.al8 | 2:2.2.0-10.0.1.al8 |
| Oracle Linux | 8 | freerdp | 2:2.2.0-8.el8 | 2:2.2.0-10.el8 |
| Oracle Linux | 8 | freerdp-libs | 2:2.2.0-8.el8 | 2:2.2.0-10.el8 |
| Oracle Linux | 8 | libwinpr | 2:2.2.0-8.el8 | 2:2.2.0-10.el8 |
| Oracle Linux | 8 | libwinpr-devel | 2:2.2.0-8.el8 | 2:2.2.0-10.el8 |
| Oracle Linux | 9 | freerdp | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Oracle Linux | 9 | freerdp-libs | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Oracle Linux | 9 | libwinpr | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Red Hat Enterprise Linux | 9.8 | freerdp | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Red Hat Enterprise Linux | 9.8 | freerdp-libs | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Red Hat Enterprise Linux | 9.8 | libwinpr | 2:2.4.1-3.el9 | 2:2.4.1-5.el9 |
| Ubuntu | focal | freerdp2-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libfreerdp2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libfreerdp-client2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libfreerdp-server2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libfreerdp-shadow2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libfreerdp-shadow-subsystem2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libuwac0-0 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libuwac0-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libwinpr2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libwinpr2-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | libwinpr-tools2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | focal | winpr-utils | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.4 |
| Ubuntu | jammy | freerdp2-dev | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libfreerdp2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libfreerdp-client2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libfreerdp-server2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libfreerdp-shadow2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libfreerdp-shadow-subsystem2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libuwac0-0 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libuwac0-dev | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libwinpr2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libwinpr2-dev | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | libwinpr-tools2-2 | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
| Ubuntu | jammy | winpr-utils | 2.6.1+dfsg1-3ubuntu1 | 2.6.1+dfsg1-3ubuntu2.3 |
