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.
{ "vanir_signatures": [ { "id": "CVE-2020-4031-6d8a4e80", "signature_type": "Line", "target": { "file": "server/shadow/shadow_server.c" }, "digest": { "line_hashes": [ "206824409836018329107931826041728959867", "260941141889332641186153920543010721710", "244372807494333150934362210269961780669", "11220332270728209492738135928567876790", "109709125800227540552630846963918169160", "280502749591609004556720326341572702766", "272391707204034853583769809678780120114", "153041246365193990729603684708156713072", "297327554412935137345118440425799656686", "234476187276609072557850772052902601274", "320116423252867463164242454449601887554" ], "threshold": 0.9 }, "deprecated": false, "signature_version": "v1", "source": "https://github.com/freerdp/freerdp/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52" }, { "id": "CVE-2020-4031-71f28b03", "signature_type": "Function", "target": { "file": "server/shadow/shadow_server.c", "function": "shadow_server_start" }, "digest": { "function_hash": "327365352117490775117547188598520203541", "length": 1409.0 }, "deprecated": false, "signature_version": "v1", "source": "https://github.com/freerdp/freerdp/commit/6d86e20e1e7caaab4f0c7f89e36d32914dbccc52" } ] }