SecurityContext

CVE-2020-8315: Python CPython - Remote Code Execution

  • Cve: CVE-2020-8315
  • Name: Python CPython - Remote Code Execution
  • Description: In Python (CPython) 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1, an insecure dependency load upon launch on Windows 7 may result in an attacker's copy of api-ms-win-core-path-l1-1-0.dll being loaded and used instead of the system's copy. Windows 8 and later are unaffected.
  • Impact: Attackers can execute arbitrary code by replacing the DLL, leading to full system compromise.
  • Remediation: Update to Python 3.6.11, 3.7.7, 3.8.2 or later versions.
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Epss score: 0.01455
  • Epss percentile: 0.74153
  • Assignee: [email protected]
  • Published at: 2020-01-28T19:15:17Z
  • Age in days: 2492
  • Modified at: 2026-10-14T09:17:21Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-8315
  • 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: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

References

UrlSourceTags
https://bugs.python.org/issue39401nvdIssue Tracking, Patch, Vendor Advisory
https://cert-portal.siemens.com/productcert/html/ssa-398330.htmlnvd

Products

ProductAffectedPlatform boundSourcesUrl
python:python>= 3.8.0, <= 3.8.1; >= 3.7.0, <= 3.7.6; >= 3.6.0, <= 3.6.10nonvd/v1/products/python/python

Projects

RepositoryLink kindsIndexedUrl
python/cpythonfixyes/v1/repositories/python/cpython

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • 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, hackerone reports