PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-4031: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-4031 affects FreeRDP versions before 2.1.2, where there is a use-after-free vulnerability in gdi_SelectObject. This vulnerability specifically impacts FreeRDP clients using compatibility mode with /relax-order-checks. The issue was discovered and disclosed in June 2020, and was fixed in version 2.1.2 (FreeRDP Advisory).

Technical details

The vulnerability is classified as a use-after-free issue in the gdi_SelectObject function. The CVSS v3.1 base score is 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility, low attack complexity, and high impact on availability (NVD).

Impact

The vulnerability can lead to a crash of the affected FreeRDP client when exploited, resulting in a denial of service condition. The impact is primarily on availability, with no direct impact on confidentiality or integrity (FreeRDP Advisory).

Exploitability

The vulnerability is exploitable when FreeRDP clients are using compatibility mode with the /relax-order-checks option enabled. The attack vector is network-accessible and requires no special privileges or user interaction (NVD).

Mitigation and workarounds

The primary mitigation is to upgrade to FreeRDP version 2.1.2 or later which contains the fix for this vulnerability. For users unable to upgrade immediately, a workaround is to avoid using the /relax-order-checks compatibility mode option (FreeRDP Release).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management