CVE-2020-15523: Python - DLL Hijacking
- Cve: CVE-2020-15523
- Name: Python - DLL Hijacking
- Description: In Python 3.6 through 3.6.10, 3.7 through 3.7.8, 3.8 through 3.8.4rc1, and 3.9 through 3.9.0b4 on Windows, 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). NOTE: this issue CANNOT occur when using python.exe from a standard (non-embedded) Python installation on Windows.
- Impact: Attackers can load malicious python3.dll, potentially executing arbitrary code within the embedded Python environment.
- Remediation: Update to the latest Python versions where this issue is fixed or apply appropriate security patches.
- Vulnerability type: dll_hijacking
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.00911
- Epss percentile: 0.60913
- Assignee: [email protected]
- Published at: 2020-07-04T23:15:10Z
- Age in days: 2334
- Modified at: 2026-10-14T10:17:30Z
- Patch available: yes
- References total: 4
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15523
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-427 | Uncontrolled Search Path Element |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.python.org/issue29778 | Issue Tracking, Patch, Vendor Advisory |
| https://github.com/python/cpython/pull/21297 | Patch, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20210312-0004/ | Issue Tracking, Patch, Third Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | = 3.9.0 alpha6; = 3.9.0 alpha5; = 3.9.0 alpha4; = 3.9.0 beta4; = 3.9.0 alpha1; = 3.9.0 alpha2; = 3.9.0 alpha3; = 3.9.0 beta1; = 3.9.0 beta2; = 3.9.0 beta3; = 3.8.4 rc1; >= 3.8.0, < 3.8.4; >= 3.7.0, < 3.7.9; >= 3.6.0, < 3.6.12; >= 3.5.0, < 3.5.10 | yes | nvd | /v1/products/python/python |
| netapp:snapcenter | all versions | no | nvd | /v1/products/netapp/snapcenter |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | fix, pull | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Hackerone reports: 1
- Exposed hosts: 5115604
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since