---
title: "CVE-2020-4031"
canonical_url: "https://pkgseek.com/security/CVE-2020-4031"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "high"
---

# CVE-2020-4031

In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.

CVE-2020-4031 严重级别为 HIGH (7.5)，共索引 12 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: HIGH (7.5)
- **受影响构建数**: 12
- **涉及发行版**: 1
- **已标明修复版本发行版**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | freerdp2-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libfreerdp2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libfreerdp-client2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libfreerdp-server2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libfreerdp-shadow2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libfreerdp-shadow-subsystem2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libuwac0-0 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libuwac0-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libwinpr2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libwinpr2-dev | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | libwinpr-tools2-2 | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
| Ubuntu | focal | winpr-utils | 2.0.0~git20190204.1.2693389a+dfsg1-2build2 | 2.2.0+dfsg1-0ubuntu0.20.04.1 |
