CVE-2019-20907
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 2.98% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 86.9% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-10-14.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-07-13 00:00Z6 YR AGO
- Last updated
- 2026-10-14 07:57Z15 DAYS AGO
- Reserved
- 2020-07-13
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 5.5)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-835Loop with Unreachable Exit Condition ('Infinite Loop')Base
- Data version
- 5.2
- Document digest
- 735c32ed42492392d572051400788599c13f3e2a0e48d6605332c1d823843ffc
05 Affected products
06 References
- lists.fedoraproject.orgFEDORA-2020-dfb11916cchttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT4AF72TJ2XNIKCR4WEBR7URBJJ4YZRD/
- lists.fedoraproject.orgFEDORA-2020-e9251de272https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAXHCY4V3LPAAJOBCJ26ISZ4NUXQXTUZ/
- usn.ubuntu.comUSN-4428-1https://usn.ubuntu.com/4428-1/
- lists.fedoraproject.orgFEDORA-2020-c3b07cc5c9https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3TALOUBYU2MQD4BPLRTDQUMBKGCAXUA/
- lists.fedoraproject.orgFEDORA-2020-aab24d3714https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YSL3XWVDMSMKO23HR74AJQ6VEM3C2NTS/
- lists.fedoraproject.orgFEDORA-2020-bb919e575ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE4O3PNDNNOMSKHNUKZKD3NGHIFUFDPX/
- lists.fedoraproject.orgFEDORA-2020-97d775e649https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TOGKLGTXZLHQQFBVCAPSUDA6DOOJFNRY/
- security.gentoo.orgGLSA-202008-01https://security.gentoo.org/glsa/202008-01
- lists.fedoraproject.orgFEDORA-2020-826b24c329https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PDKKRXLNVXRF6VGERZSR3OMQR5D5QI6I/
- lists.fedoraproject.orgFEDORA-2020-1ddd5273d6https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILCHHTNLH4GG4GSQBX2MZRKZBXOLCKE/
- lists.fedoraproject.orgFEDORA-2020-87c0a0a52dhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NTBKKOLFFNHG6CM4ACDX4APHSD5ZX5N4/
- lists.fedoraproject.orgFEDORA-2020-efb908b6a8https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CNHPQGSP2YM3JAUD2VAMPXTIUQTZ2M2U/
- lists.fedoraproject.orgFEDORA-2020-d808fdd597https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V53P2YOLEQH4J7S5QHXMKMZYFTVVMTMO/
- lists.fedoraproject.orgFEDORA-2020-982b2950dbhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTUNTBJ3POHONQOTLEZC46POCIYYTAKZ/
- lists.fedoraproject.orgFEDORA-2020-c539babb0ahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36XI3EEQNMHGOZEI63Y7UV6XZRELYEAU/
- lists.debian.org[debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security updatehttps://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- lists.opensuse.orgopenSUSE-SU-2020:1254http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00051.html
- lists.opensuse.orgopenSUSE-SU-2020:1257http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00052.html
- lists.opensuse.orgopenSUSE-SU-2020:1258http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00053.html
- lists.opensuse.orgopenSUSE-SU-2020:1265http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00056.html
- lists.fedoraproject.orgFEDORA-2020-d30881c970https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXI72HIHMXCQFWTULUXDG7VDA2BCYL4Y/
- lists.debian.org[debian-lts-announce] 20201119 [SECURITY] [DLA 2456-1] python3.5 security updatehttps://lists.debian.org/debian-lts-announce/2020/11/msg00032.html
- www.oracle.comhttps://www.oracle.com/security-alerts/cpujan2021.html
- bugs.python.orghttps://bugs.python.org/issue39017
- github.comhttps://github.com/python/cpython/pull/21454
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20200731-0002/
- lists.debian.org[debian-lts-announce] 20230524 [SECURITY] [DLA 3432-1] python2.7 security updatehttps://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/html/ssa-398330.html
07 Fixed in
AlmaLinux 8
- python-psycopg2-doc Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python-sqlalchemy-doc Fixed
A version is affected if any line below covers it.
- Affected before 1.3.2-2.module_el8.5.0+2569+5c5719bc
- Affected before 1.3.2-2.module_el8.6.0+2781+fed64c13
- python2-Cython Fixed in 0.28.1-7.module_el8.6.0+2781+fed64c13
- python2-PyMySQL Fixed in 0.8.0-10.module_el8.6.0+2781+fed64c13
- python2-attrs Fixed in 17.4.0-10.module_el8.6.0+2781+fed64c13
- python2-chardet Fixed in 3.0.4-10.module_el8.6.0+2781+fed64c13
- python2-coverage Fixed in 4.5.1-4.module_el8.6.0+2781+fed64c13
- python2-dns Fixed in 1.15.0-10.module_el8.6.0+2781+fed64c13
- python2-docs Fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13
- python2-docs-info Fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13
- python2-docutils Fixed in 0.14-12.module_el8.6.0+2781+fed64c13
- python2-funcsigs Fixed in 1.0.2-13.module_el8.6.0+2781+fed64c13
- python2-idna Fixed in 2.5-7.module_el8.6.0+2781+fed64c13
- python2-ipaddress Fixed in 1.0.18-6.module_el8.6.0+2781+fed64c13
- python2-markupsafe Fixed in 0.23-19.module_el8.6.0+2781+fed64c13
- python2-mock Fixed in 2.0.0-13.module_el8.6.0+2781+fed64c13
- python2-pluggy Fixed in 0.6.0-8.module_el8.6.0+2781+fed64c13
- python2-psycopg2 Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-psycopg2-debug Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-psycopg2-tests Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-py Fixed in 1.5.3-6.module_el8.6.0+2781+fed64c13
- python2-pysocks Fixed in 1.6.8-6.module_el8.6.0+2781+fed64c13
- python2-pytest Fixed in 3.4.2-13.module_el8.6.0+2781+fed64c13
- python2-pytest-mock Fixed in 1.9.0-4.module_el8.6.0+2781+fed64c13
- python2-pytz Fixed in 2017.2-12.module_el8.6.0+2781+fed64c13
- python2-pyyaml Fixed in 3.12-16.module_el8.6.0+2781+fed64c13
- python2-requests Fixed in 2.20.0-3.module_el8.6.0+2781+fed64c13
- python2-rpm-macros Fixed in 3-38.module_el8.6.0+2781+fed64c13
- python2-setuptools_scm Fixed in 1.15.7-6.module_el8.6.0+2781+fed64c13
- python2-sqlalchemy Fixed in 1.3.2-2.module_el8.6.0+2781+fed64c13
- python38-Cython Fixed in 0.29.14-4.module_el8.6.0+2778+cd494b30
- python38-asn1crypto Fixed in 1.2.0-3.module_el8.6.0+2778+cd494b30
- python38-cffi Fixed in 1.13.2-3.module_el8.6.0+2778+cd494b30
- python38-chardet Fixed in 3.0.4-19.module_el8.6.0+2778+cd494b30
- python38-cryptography Fixed in 2.8-3.module_el8.6.0+2778+cd494b30
- python38-idna Fixed in 2.8-6.module_el8.6.0+2778+cd494b30
- python38-markupsafe Fixed in 1.1.1-6.module_el8.6.0+2778+cd494b30
- python38-mod_wsgi Fixed in 4.6.8-3.module_el8.6.0+2778+cd494b30
- python38-psycopg2 Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
- python38-psycopg2-doc Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
6 further packages in AlmaLinux 8 not shown (first 40 listed).
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- python-psycopg2-doc Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python-sqlalchemy-doc Fixed
A version is affected if any line below covers it.
- Affected before 1.3.2-2.module_el8.5.0+2569+5c5719bc
- Affected before 1.3.2-2.module_el8.6.0+2781+fed64c13
- python2-Cython Fixed in 0.28.1-7.module_el8.6.0+2781+fed64c13
- python2-PyMySQL Fixed in 0.8.0-10.module_el8.6.0+2781+fed64c13
- python2-attrs Fixed in 17.4.0-10.module_el8.6.0+2781+fed64c13
- python2-chardet Fixed in 3.0.4-10.module_el8.6.0+2781+fed64c13
- python2-coverage Fixed in 4.5.1-4.module_el8.6.0+2781+fed64c13
- python2-dns Fixed in 1.15.0-10.module_el8.6.0+2781+fed64c13
- python2-docs Fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13
- python2-docs-info Fixed in 2.7.16-2.module_el8.6.0+2781+fed64c13
- python2-docutils Fixed in 0.14-12.module_el8.6.0+2781+fed64c13
- python2-funcsigs Fixed in 1.0.2-13.module_el8.6.0+2781+fed64c13
- python2-idna Fixed in 2.5-7.module_el8.6.0+2781+fed64c13
- python2-ipaddress Fixed in 1.0.18-6.module_el8.6.0+2781+fed64c13
- python2-markupsafe Fixed in 0.23-19.module_el8.6.0+2781+fed64c13
- python2-mock Fixed in 2.0.0-13.module_el8.6.0+2781+fed64c13
- python2-pluggy Fixed in 0.6.0-8.module_el8.6.0+2781+fed64c13
- python2-psycopg2 Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-psycopg2-debug Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-psycopg2-tests Fixed in 2.7.5-7.module_el8.6.0+2781+fed64c13
- python2-py Fixed in 1.5.3-6.module_el8.6.0+2781+fed64c13
- python2-pysocks Fixed in 1.6.8-6.module_el8.6.0+2781+fed64c13
- python2-pytest Fixed in 3.4.2-13.module_el8.6.0+2781+fed64c13
- python2-pytest-mock Fixed in 1.9.0-4.module_el8.6.0+2781+fed64c13
- python2-pytz Fixed in 2017.2-12.module_el8.6.0+2781+fed64c13
- python2-pyyaml Fixed in 3.12-16.module_el8.6.0+2781+fed64c13
- python2-requests Fixed in 2.20.0-3.module_el8.6.0+2781+fed64c13
- python2-rpm-macros Fixed in 3-38.module_el8.6.0+2781+fed64c13
- python2-setuptools_scm Fixed in 1.15.7-6.module_el8.6.0+2781+fed64c13
- python2-sqlalchemy Fixed in 1.3.2-2.module_el8.6.0+2781+fed64c13
- python38-Cython Fixed in 0.29.14-4.module_el8.6.0+2778+cd494b30
- python38-asn1crypto Fixed in 1.2.0-3.module_el8.6.0+2778+cd494b30
- python38-cffi Fixed in 1.13.2-3.module_el8.6.0+2778+cd494b30
- python38-chardet Fixed in 3.0.4-19.module_el8.6.0+2778+cd494b30
- python38-cryptography Fixed in 2.8-3.module_el8.6.0+2778+cd494b30
- python38-idna Fixed in 2.8-6.module_el8.6.0+2778+cd494b30
- python38-markupsafe Fixed in 1.1.1-6.module_el8.6.0+2778+cd494b30
- python38-mod_wsgi Fixed in 4.6.8-3.module_el8.6.0+2778+cd494b30
- python38-psycopg2 Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
- python38-psycopg2-doc Fixed in 2.8.4-4.module_el8.6.0+2778+cd494b30
6 further packages in CloudLinux 8 not shown (first 40 listed).
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- pypy3 Fixed in 7.3.3+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- pypy3 Fixed in 7.3.3+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- pypy3 Fixed in 7.3.3+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- python2.7 Fixed in 2.7.12-1ubuntu0~16.04.12
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.11
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python2.7 Fixed in 2.7.17-1~18.04ubuntu1.1
- python3.6 Fixed in 3.6.9-1~18.04ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 20.04 LTS
- python2.7 Fixed in 2.7.18-1~20.04.1
- python3.8 Fixed in 3.8.2-1ubuntu1.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- python2.7 Fixed in 2.7.6-8ubuntu0.6+esm6Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.4 Fixed in 3.4.3-1ubuntu1~14.04.7+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
- python3.5 Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- python3.7 Fixed in 3.7.5-2ubuntu1~18.04.2+esm3Available with Ubuntu Pro: https://ubuntu.com/pro
- python3.8 Fixed in 3.8.0-3ubuntu1~18.04.2+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.