CVE-2019-20907
High 7.5 CVSS 3.1
Description
In Lib/tarfile.py in Python through 3.8.3, an attacker is able to craft a TAR archive leading to an infinite loop when opened by tarfile.open, because _proc_pax lacks header validation.
Description as published by the source, in English.
Key facts
- Published
- 2020-07-13
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
6.3 %
higher than 93 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Canonical | Ubuntu Linux | 12.04 | Affected |
| Canonical | Ubuntu Linux | 14.04 | Affected |
| Canonical | Ubuntu Linux | 16.04 | Affected |
| Canonical | Ubuntu Linux | 18.04 | Affected |
| Canonical | Ubuntu Linux | 20.04 | Affected |
| Debian | Debian Linux | 9.0 | Affected |
| Fedoraproject | Fedora | 31 | Affected |
| Fedoraproject | Fedora | 32 | Affected |
| Netapp | Active Iq Unified Manager | ≥ 9.5 | Affected |
| Netapp | Cloud Volumes Ontap Mediator | all versions listed | Affected |
| Opensuse | Leap | 15.1 | Affected |
| Opensuse | Leap | 15.2 | Affected |
| Oracle | Zfs Storage Appliance Kit | 8.8 | Affected |
| Python | Python | ≥ 3.5.0, < 3.5.10 | Affected |
| Python | Python | ≥ 3.6.0, < 3.6.12 | Affected |
| Python | Python | ≥ 3.7.0, < 3.7.9 | Affected |
| Python | Python | ≥ 3.8.0, < 3.8.5 | Affected |
Weakness type
-
CWE-835: Loop with Unreachable Exit Condition
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00051.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00052.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00053.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00056.html
- https://bugs.python.org/issue39017
- https://github.com/python/cpython/pull/21454
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00032.html
- https://security.gentoo.org/glsa/202008-01
- https://security.netapp.com/advisory/ntap-20200731-0002/
- https://usn.ubuntu.com/4428-1/
- https://www.oracle.com/security-alerts/cpujan2021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00051.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00052.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00053.html
- http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00056.html
- https://bugs.python.org/issue39017
- https://github.com/python/cpython/pull/21454
- https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- https://lists.debian.org/debian-lts-announce/2020/11/msg00032.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.