CVE-2019-20907

Summary

CVECVE-2019-20907
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-07-13 13:15:10 UTC
Updated2026-10-14 08:17:01 UTC
DescriptionIn 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.

Risk And Classification

Primary CVSS: v3.1 7.5 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem Types: CWE-835 | n/a | CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1ADPDECLARED5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
2.0[email protected]Primary5AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Python Python All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
[SECURITY] Fedora 32 Update: python34-3.4.10-11.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python38-3.8.5-1.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
CVE-2019-20907 Python Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com Third Party Advisory
Issue 39017: Infinite loop in the tarfile module - Python tracker af854a3a-2127-422b-91ae-364da2661108 bugs.python.org Issue Tracking, Vendor Advisory
[SECURITY] Fedora 32 Update: python3-docs-3.8.5-1.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: mingw-python3-3.8.3-3.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python36-3.6.11-3.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:1254-1: moderate: Security update f af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[SECURITY] Fedora 31 Update: python39-3.9.0~b5-1.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python35-3.5.9-9.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python3-3.7.8-2.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Oracle Critical Patch Update Advisory - January 2021 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com Patch, Third Party Advisory
[SECURITY] Fedora 31 Update: python35-3.5.9-9.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:1258-1: moderate: Security update f af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2337-1] python2.7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] [DLA 2456-1] python3.5 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org Mailing List, Third Party Advisory
[SECURITY] Fedora 31 Update: python2-2.7.18-2.fc31 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python36-3.6.11-3.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[security-announce] openSUSE-SU-2020:1257-1: moderate: Security update f af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[SECURITY] Fedora 32 Update: python37-3.7.8-2.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python39-3.9.0~b5-1.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
Python: Multiple vulnerabilities (GLSA 202008-01) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org Third Party Advisory
[SECURITY] Fedora 32 Update: python27-2.7.18-2.fc32 - package-announce - Fedora Mailing-Lists af854a3a-2127-422b-91ae-364da2661108 lists.fedoraproject.org
USN-4428-1: Python vulnerabilities | Ubuntu security notices | Ubuntu af854a3a-2127-422b-91ae-364da2661108 usn.ubuntu.com Third Party Advisory
[security-announce] openSUSE-SU-2020:1265-1: moderate: Security update f af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org Mailing List, Third Party Advisory
[SECURITY] [DLA 3432-1] python2.7 security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
bpo-39017 Fix infinite loop in the tarfile module by rishi93 · Pull Request #21454 · python/cpython · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Patch, Third Party Advisory
[SECURITY] Fedora 32 Update: python36-3.6.11-3.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python2-2.7.18-2.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python37-3.7.8-2.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python39-3.9.0~b5-1.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python35-3.5.9-9.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python39-3.9.0~b5-1.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python38-3.8.5-1.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python3-docs-3.8.5-1.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python35-3.5.9-9.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python34-3.4.10-11.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python3-3.7.8-2.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: mingw-python3-3.8.3-3.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python27-2.7.18-2.fc32 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
[SECURITY] Fedora 31 Update: python36-3.6.11-3.fc31 - package-announce - Fedora Mailing-Lists MITRE lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159654 Oracle Enterprise Linux Security Update for python38:3.8 (ELSA-2020-4641)
  • 159683 Oracle Enterprise Linux Security Update for python27:2.7 (ELSA-2020-4654)
  • 181802 Debian Security Update for python2.7 (DLA 3432-1)
  • 198293 Ubuntu Security Notification for Python2.7, Python3.7, Python3.8 Vulnerabilities (USN-4754-3)
  • 239171 Red Hat Update for python (RHSA-2021:0881)
  • 296072 Oracle Solaris 11.4 Support Repository Update (SRU) 25.75.3 Missing (CPUJUL2020)
  • 356271 Amazon Linux Security Advisory for python38 : ALASPYTHON3.8-2023-008
  • 375669 F5 BIG-IP ASM,LTM,APM BIG-IP Python Tarfile Library Vulnerability (K78284681)
  • 377387 Alibaba Cloud Linux Security Update for python3 (ALINUX3-SA-2021:0080)
  • 377488 Alibaba Cloud Linux Security Update for python3 (ALINUX2-SA-2020:0186)
  • 377543 Alibaba Cloud Linux Security Update for python (ALINUX2-SA-2020:0183)
  • 500593 Alpine Linux Security Update for python3
  • 504343 Alpine Linux Security Update for python3
  • 690464 Free Berkeley Software Distribution (FreeBSD) Security Update for python (2cb21232-fb32-11ea-a929-a4bf014bf5f7)
  • 730227 McAfee Web Gateway Multiple Vulnerabilities (WP-3426, WP-3427, WP-3307, WP-3444, WP-3452, WP-3475)
  • 750463 OpenSUSE Security Update for python3 (openSUSE-SU-2020:2333-1)
  • 750464 OpenSUSE Security Update for python3 (openSUSE-SU-2020:2332-1)
  • 770068 Red Hat OpenShift Container Platform 4.6 Security Update (RHSA-2021:0436)
  • 900115 CBL-Mariner Linux Security Update for python2 2.7.18
  • 900127 CBL-Mariner Linux Security Update for python3 3.7.7
  • 901888 Common Base Linux Mariner (CBL-Mariner) Security Update for python2 (6825-1)
  • 902988 Common Base Linux Mariner (CBL-Mariner) Security Update for python3 (1868)
  • 903138 Common Base Linux Mariner (CBL-Mariner) Security Update for python2 (1910)
  • 940032 AlmaLinux Security Update for python27:2.7 (ALSA-2020:4654)
  • 940166 AlmaLinux Security Update for python3 (ALSA-2020:4433)
  • 940211 AlmaLinux Security Update for python38:3.8 (ALSA-2020:4641)
  • 960347 Rocky Linux Security Update for python38:3.8 (RLSA-2020:4641)
  • 960365 Rocky Linux Security Update for python27:2.7 (RLSA-2020:4654)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report