CVE Catalog

CVE-2020-15801

CriticalCVSS 9.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
3.46%

89th percentile - higher than 89% of all known CVEs

Summary

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. The <executable-name>._pth file (e.g., the python._pth file) is not affected.

Risk Assessment

Attackers may load malicious code from unexpected locations, potentially leading to arbitrary code execution within the context of the running Python application.

Recommendation

Update Python to a version newer than 3.8.4 where the sys.path restriction handling is fixed.

Other vulnerabilities in Python

See all
Original NVD description (English source)

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing code to be loaded from arbitrary locations. The <executable-name>._pth file (e.g., the python._pth file) is not affected.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS