Python DLL Loading Local Privilege Escalation

Medium Nessus Plugin ID 139240

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9


The remote host has an application installed that is affected by an elevation of privilege vulnerability.


The version of Python installed on the remote Windows host is 3.6.x prior to 3.6.12, 3.7.x prior to 3.7.9, 3.8.x prior to 3.8.4, or 3.9.x prior to 3.9.0b5. It is, therefore, affected by an elevation of privilege vulnerability. A Trojan horse python3.dll might be used in cases where CPython is embedded in a native application. This occurs because python3X.dll may use an invalid search path for python3.dll loading (after Py_SetPath has been used).


Upgrade to Python 3.6.12, 3.7.9, 3.8.4, 3.9.0b5 or later.

See Also

Plugin Details

Severity: Medium

ID: 139240

File Name: python_3_9_0b5.nasl

Version: 1.2

Type: local

Agent: windows

Family: Windows

Published: 2020/07/31

Updated: 2020/08/03

Dependencies: 139241

Configuration: Enable paranoid mode

Risk Information

Risk Factor: Medium

VPR Score: 5.9

CVSS Score Source: CVE-2020-1465

CVSS v2.0

Base Score: 6.9

Temporal Score: 5.1

Vector: CVSS2#AV:L/AC:M/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7.8

Temporal Score: 6.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:python:python

Required KB Items: installed_sw/Python Software Foundation Python, SMB/Registry/Enumerated, Settings/ParanoidReport

Exploit Ease: No known exploits are available

Patch Publication Date: 2020/07/14

Vulnerability Publication Date: 2020/07/14

Reference Information

CVE: CVE-2020-15523

IAVA: 2020-A-0340