Use-After-Free in gdi_SelectObject in FreeRDP
Published Jun 22, 2020
7.5
HIGHCVSS 3.1
EPSS 1.81%
Description
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.
Affected products
-
- Version < 2.1.2StatusaffectedConstraints-
- Version
Configuration 2
- 31
- 32
Configuration 4
- 18.04
- 20.04
Configuration 5
- 10.0
No data.
Red Hat Enterprise Linux 6
freerdp
Not affected
Red Hat Enterprise Linux 7
freerdp
Not affected
Red Hat Enterprise Linux 8
freerdp
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | freerdp | Not affected | n/a |
| Red Hat Enterprise Linux 7 | freerdp | Not affected | n/a |
| Red Hat Enterprise Linux 8 | freerdp | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Although the vulnerable code could have been in versions of freerdp shipped with Red Hat Enterprise Linux 7 and 8, the build configuration disables the shadow-server functionality and thus the vulnerable code is not shipped. Therefore, versions of freerdp shipped with Red Hat Enterprise Linux 7 and 8 are not affected. The version of freerdp shipped with Red Hat Enterprise Linux 6 does not contain the vulnerable code in the first place.
References (13)
- http://lists.opensuse.org/opensuse-security-announce/2020-07/msg00080.html vendor-advisoryMailing ListThird Party Advisory
- http://www.freerdp.com/2020/06/22/2_1_2-released Release NotesVendor Advisory
- https://access.redhat.com/security/cve/CVE-2020-4031 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1854889 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-25296 Advisory
- https://github.com/FreeRDP/FreeRDP/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52 PatchThird Party Advisory
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gwcq-hpq2-m74g MitigationThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6Y35HBHG2INICLSGCIKNAR7GCXEHQACQ/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XOZLH35OJWIQLM7FYDXAP2EAUBDXE76V/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-4031
- https://usn.ubuntu.com/4481-1/ vendor-advisoryThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2020-4031
Change history (0)
No recorded changes yet.