CVE-2020-15801
python: sys.path allowing code to be loaded from arbitrary locations
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, Bitnami. Rated lower by Red Hat (high).
Description
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 packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | libpython, python, python-min | 3.7.9, 3.8.5 |
Show all 3 entries from 1 source
| Source | Package | Fixed in |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | libpython | 3.7.9, 3.8.5 |
| bitnami::Bitnami Vulnerability Database | python | 3.7.9, 3.8.5 |
| bitnami::Bitnami Vulnerability Database | python-min | 3.7.9, 3.8.5 |
References
- https://access.redhat.com/security/cve/CVE-2020-15801
- https://bugs.python.org/issue41304
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/python/cpython/pull/21495
- https://nvd.nist.gov/vuln/detail/CVE-2020-15801
- https://security.netapp.com/advisory/ntap-20200731-0003/
- https://www.cve.org/CVERecord?id=CVE-2020-15801