BIT-python-2020-15801: Critical severity Python Software Foundation Python vulnerability

Published Jul 17, 2020
·
Updated

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.

Affected Software

1 affected component
Python Software Foundation Python=3.8.4

Event History

Jul 17, 2020
CVE Published
via OSV·03:15 AM
Data Sourced
via OSV·03:15 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are affected by this issue?

The issue affects Python 3.8.4 deployments that rely on a python38._pth file to restrict sys.path. The executable-specific <executable-name>._pth file, such as python._pth, is not affected.

2

What must an attacker be able to do to exploit the issue?

An attacker must be able to place or make Python load code from an arbitrary location that should have been excluded by the intended sys.path restrictions. Because the python38._pth restrictions are ignored, that code may be loaded.

3

How can I determine whether my configuration is exposed?

Check whether the environment uses Python 3.8.4 and depends on a python38._pth file for sys.path isolation. If it instead uses an executable-specific file such as python._pth, this issue does not affect that file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203