Every CVE Search/ Get API key

CVE-2020-15801

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing...

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.63%Up 2.8 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2020-15801
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-426
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2020-15801
Updated
2026-11-02
EUVDEUVD-2020-7784 No score

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.

Record
EUVD-2020-7784
Updated
2026-11-02
GitHub AdvisoriesGHSA-45fw-qrx2-rj7m 9.8

In Python 3.8.4, sys.path restrictions specified in a python38._pth file are ignored, allowing...

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.

Record
GHSA-45fw-qrx2-rj7m
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-426, CWE-863
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2020-15801
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVBIT-libpython-2020-15801 No score

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.

Record
BIT-libpython-2020-15801
Updated
2026-11-02
Show 14 moreShow less
OSVBIT-python-2020-15801 No score

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.

Record
BIT-python-2020-15801
Updated
2026-11-02
OSVBIT-python-min-2020-15801 No score

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.

Record
BIT-python-min-2020-15801
Updated
2026-11-02
OSVopenSUSE-SU-2024:11283-1 No score

python310-3.10.0rc1-4.2 on GA media

These are all security issues fixed in the python310-3.10.0rc1-4.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11283-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:11286-1 No score

python39-3.9.7-2.1 on GA media

These are all security issues fixed in the python39-3.9.7-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11286-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12089-1 No score

python311-3.11.0b1-1.1 on GA media

These are all security issues fixed in the python311-3.11.0b1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12089-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:12910-1 No score

python312-3.12.0a7-1.1 on GA media

These are all security issues fixed in the python312-3.12.0a7-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12910-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14109-1 No score

python313-3.13.0~b3-1.1 on GA media

These are all security issues fixed in the python313-3.13.0~b3-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14109-1
Updated
2026-11-02
OSVopenSUSE-SU-2024:14434-1 No score

python314-3.14.0~a1-1.1 on GA media

These are all security issues fixed in the python314-3.14.0~a1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14434-1
Updated
2026-11-02
OSVopenSUSE-SU-2025:15713-1 No score

python315-3.15.0~a1-1.1 on GA media

These are all security issues fixed in the python315-3.15.0~a1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15713-1
Updated
2026-11-02
OSVSUSE-FU-2022:0444-1 No score

Feature update for venv-salt-minion

This feature update for venv-salt-minion provides the following changes:

  • Introduce venv-salt-minion.
  • Track already fixed issues.
Record
SUSE-FU-2022:0444-1
Updated
2026-11-02
OSVSUSE-FU-2022:0445-1 No score

Feature update for venv-salt-minion

This feature update for venv-salt-minion provides the following changes:

  • Introduce venv-salt-minion.
  • Mention fixed issues provided with the bundle.
Record
SUSE-FU-2022:0445-1
Updated
2026-11-02
OSVSUSE-SU-2025:20025-1 No score

Security update for python311, python-rpm-macros

This update for python311, python-rpm-macros fixes the following issues:

python311:

  • CVE-2024-0450: Fixed zipfile module vulnerability with "quoted-overlap" zipbomb (bsc#1221854)
  • CVE-2024-4032: Fixed incorrect IPv4 and IPv6 private ranges (bsc#1226448)
  • CVE-2024-0397: Fixed memory race condition in ssl.SSLContext certificate store methods (bsc#1226447)
  • CVE-2024-6923: Prevent email header injection due to unquoted newlines (bsc#1228780)
  • Fixed executable bits for /usr/bin/idle* (bsc#1227378).

python-rpm-macros:

  • Update to version 20240618.c146b29:

    • Add %FLAVOR_pytest and %FLAVOR_pyunittest variants
  • Update to version 20240618.1e386da:

    • Fix python_clone sed regex
  • Update to version 20240614.02920b8:

    • Make sure that RPM_BUILD_ROOT env is set
    • don't eliminate any cmdline arguments in the shebang line
    • Create python313 macros
  • Update to version 20240415.c664b45:

    • Fix typo 310 -> 312 in default-prjconf
  • Update to version 20240202.501440e:

    • SPEC0: Drop python39, add python312 to buildset (#169)
  • Update to version 20231220.98427f3:

    • fix python2_compile macro
  • Update to version 20231207.46c2ec3:

    • make FLAVOR_compile compatible with python2
  • Update to version 20231204.dd64e74:

    • Combine fix_shebang in one line
    • New macro FLAVOR_fix_shebang_path
    • Use realpath in %python_clone macro shebang replacement
    • Compile and fix_shebang in %python_install macros
  • Update to version 20231010.0a1f0d9:

    • Revert "Compile and fix_shebang in %python_install macros"
    • gh#openSUSE/python-rpm-macros#163
  • Update to version 20231010.a32e110:

    • Compile and fix_shebang in %python_install macros
  • Update to version 20231005.bf2d3ab:

    • Fix shebang also in sbin with macro _fix_shebang
Record
SUSE-SU-2025:20025-1
Updated
2026-11-02
OSVSUSE-SU-2025:20154-1 No score

Security update for python311

This update for python311 fixes the following issues:

  • Skip PGO with %want_reproducible_builds (bsc#1239210)

  • CVE-2025-0938: Disallows square brackets ([ and ]) in domain names for parsed URLs (bsc#1236705).

  • Configure externally_managed with a bcond (bsc#1228165).

  • Update to 3.11.11:

    • Tools/Demos
      • gh-123418: Update GitHub CI workflows to use OpenSSL 3.0.15 and multissltests to use 3.0.15, 3.1.7, and 3.2.3.
    • Tests
      • gh-125041: Re-enable skipped tests for zlib on the s390x architecture: only skip checks of the compressed bytes, which can be different between zlib’s software implementation and the hardware-accelerated implementation.
    • Security
      • gh-126623: Upgrade libexpat to 2.6.4
      • gh-122792: Changed IPv4-mapped ipaddress.IPv6Address to consistently use the mapped IPv4 address value for deciding properties. Properties which have their behavior fixed are is_multicast, is_reserved, is_link_local, is_global, and is_unspecified.
    • Library
      • gh-124651: Properly quote template strings in venv activation scripts (bsc#1232241, CVE-2024-9287).
  • Remove -IVendor/ from python-config (bsc#1231795)

  • CVE-2024-9287: Properly quote path names provided when creating a virtual environment (bsc#1232241)

  • Drop .pyc files from docdir for reproducible builds (bsc#1230906).

  • Update to 3.11.10:

    • Security
      • gh-123678: Upgrade libexpat to 2.6.3
      • gh-121957: Fixed missing audit events around interactive use of Python, now also properly firing for python -i, as well as for python -m asyncio. The event in question is cpython.run_stdin.
      • gh-122133: Authenticate the socket connection for the socket.socketpair() fallback on platforms where AF_UNIX is not available like Windows. Patch by Gregory P. Smith [email protected] and Seth Larson [email protected]. Reported by Ellie [email protected]
      • gh-121285: Remove backtracking from tarfile header parsing for hdrcharset, PAX, and GNU sparse headers (bsc#1230227, CVE-2024-6232).
      • gh-118486: :func:os.mkdir on Windows now accepts mode of 0o700 to restrict the new directory to the current user. This fixes CVE-2024-4030 affecting :func:tempfile.mkdtemp in scenarios where the base temporary directory is more permissive than the default.
      • gh-116741: Update bundled libexpat to 2.6.2
    • Library
      • gh-123270: Applied a more surgical fix for malformed payloads in :class:zipfile.Path causing infinite loops (gh-122905) without breaking contents using legitimate characters (bsc#1229704, CVE-2024-8088).
      • gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes by :mod:http.cookies (bsc#1229596, CVE-2024-7592).
      • gh-122905: :class:zipfile.Path objects now sanitize names from the zipfile.
      • gh-121650: :mod:email headers with embedded newlines are now quoted on output. The :mod:~email.generator will now refuse to serialize (write) headers that are unsafely folded or delimited; see :attr:~email.policy.Policy.verify_generated_headers. (Contributed by Bas Bloemsaat and Petr Viktorin in :gh:121650; CVE-2024-6923, bsc#1228780).
      • gh-119506: Fix :meth:!io.TextIOWrapper.write method breaks internal buffer when the method is called again during flushing internal buffer.
      • gh-118643: Fix an AttributeError in the :mod:email module when re-fold a long address list. Also fix more cases of incorrect encoding of the address separator in the address list.
      • gh-113171: Fixed various false positives and false negatives in * :attr:ipaddress.IPv4Address.is_private (see these docs for details) * :attr:ipaddress.IPv4Address.is_global * :attr:ipaddress.IPv6Address.is_private * …
Record
SUSE-SU-2025:20154-1
Updated
2026-11-02
OSVSUSE-SU-2025:20492-1 No score

Security update for python311

This update for python311 fixes the following issues:

  • CVE-2025-6069: Avoid worst case quadratic complexity when processing certain crafted malformed inputs with HTMLParser (bsc#1244705).

Update to 3.11.13:

  • Security

    • gh-135034: Fixes multiple issues that allowed tarfile extraction filters (filter="data" and filter="tar") to be bypassed using crafted symlinks and hard links. Addresses CVE-2024-12718 (bsc#1244056), CVE-2025-4138 (bsc#1244059), CVE-2025-4330 (bsc#1244060), and CVE-2025-4517 (bsc#1244032). Also addresses CVE-2025-4435 (gh#135034, bsc#1244061).
    • gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-“strict” error handler (CVE-2025-4516, bsc#1243273).
    • gh-128840: Short-circuit the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service.
  • Library

    • gh-128840: Fix parsing long IPv6 addresses with embedded IPv4 address.
    • gh-134062: ipaddress: fix collisions in hash() for IPv4Network and IPv6Network objects.
    • gh-123409: Fix ipaddress.IPv6Address.reverse_pointer output according to RFC 3596, §2.5. Patch by Bénédikt Tran.
    • bpo-43633: Improve the textual representation of IPv4-mapped IPv6 addresses (RFC 4291 Sections 2.2, 2.5.5.2) in ipaddress. Patch by Oleksandr Pavliuk.
  • CVE-2025-4516: Fixed blocking DecodeError handling vulnerability, which could lead to DoS. (bsc#1243273)

Record
SUSE-SU-2025:20492-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libpython
Bitnami
3.7.0 up to 3.7.9, 3.8.0 up to 3.8.5
3.7.93.8.5
python
Bitnami
3.7.0 up to 3.7.9, 3.8.0 up to 3.8.5
3.7.93.8.5
python-min
Bitnami
3.7.0 up to 3.7.9, 3.8.0 up to 3.8.5
3.7.93.8.5
python311
SUSE:Linux Micro 6.0
From an advisory covering 10 CVEs
before 3.11.8-3.1
3.11.8-3.1
python311-core
SUSE:Linux Micro 6.0
From an advisory covering 10 CVEs
before 3.11.8-3.1
3.11.8-3.1
python311
SUSE:Linux Micro 6.0
From an advisory covering 19 CVEs
before 3.11.11-1.1
3.11.11-1.1
python311-core
SUSE:Linux Micro 6.0
From an advisory covering 19 CVEs
before 3.11.11-1.1
3.11.11-1.1
python311
SUSE:Linux Micro 6.0
From an advisory covering 11 CVEs
before 3.11.13-1.1
3.11.13-1.1
python311-core
SUSE:Linux Micro 6.0
From an advisory covering 11 CVEs
before 3.11.13-1.1
3.11.13-1.1
python310
openSUSE:Tumbleweed
From an advisory covering 17 CVEs
before 3.10.0rc1-4.2
3.10.0rc1-4.2
Show 6 moreShow less
Affected packages
PackageAffectedFixed
python39
openSUSE:Tumbleweed
From an advisory covering 20 CVEs
before 3.9.7-2.1
3.9.7-2.1
python311
openSUSE:Tumbleweed
From an advisory covering 17 CVEs
before 3.11.0b1-1.1
3.11.0b1-1.1
python312
openSUSE:Tumbleweed
From an advisory covering 21 CVEs
before 3.12.0a7-1.1
3.12.0a7-1.1
python313
openSUSE:Tumbleweed
From an advisory covering 28 CVEs
before 3.13.0~b3-1.1
3.13.0~b3-1.1
python314
openSUSE:Tumbleweed
From an advisory covering 33 CVEs
before 3.14.0~a1-1.1
3.14.0~a1-1.1
python315
openSUSE:Tumbleweed
From an advisory covering 39 CVEs
before 3.15.0~a1-1.1
3.15.0~a1-1.1

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2020-15801 is a critical vulnerability (CVSS 9.8) in Python, published July 17, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.63%, the 89th percentile. Fixed in libpython 3.7.9.

References

Show 194 moreShow less
This page doesn't list everything

Left out here: 538 references and the rest of 1 source description. The JSON record has them.

MoveEnter Open