CVE-2019-20907
published medium CVSS 3.1 · 5.5python: infinite loop in the tarfile module via crafted TAR archive
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1483 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1484 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | python-psycopg2-doc | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| Alpine Linux | edge | python3 | Fixed | 3.8.5-r0 | Package fix record |
Show 102 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2PYTHON3.8-2023-008 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | buster | python2.7 | Advisory build | 2.7.16-2+deb10u2 | DLA-3432-1 |
| Oracle Linux | 7 | pythonaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-2.module_el8.5.0+2569+5c5719bc | ALSA-2020:4654 |
| AlmaLinux | 8 | python-sqlalchemy-doc | Advisory build | 1.3.2-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-Cython | Advisory build | 0.28.1-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-PyMySQL | Advisory build | 0.8.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-attrs | Advisory build | 17.4.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-chardet | Advisory build | 3.0.4-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-coverage | Advisory build | 4.5.1-4.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-dns | Advisory build | 1.15.0-10.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docs | Advisory build | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docs-info | Advisory build | 2.7.16-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-docutils | Advisory build | 0.14-12.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-funcsigs | Advisory build | 1.0.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-idna | Advisory build | 2.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-ipaddress | Advisory build | 1.0.18-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-markupsafe | Advisory build | 0.23-19.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-mock | Advisory build | 2.0.0-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pluggy | Advisory build | 0.6.0-8.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2 | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2-debug | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-psycopg2-tests | Advisory build | 2.7.5-7.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-py | Advisory build | 1.5.3-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pysocks | Advisory build | 1.6.8-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytest | Advisory build | 3.4.2-13.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytest-mock | Advisory build | 1.9.0-4.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pytz | Advisory build | 2017.2-12.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-pyyaml | Advisory build | 3.12-16.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-requests | Advisory build | 2.20.0-3.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-rpm-macros | Advisory build | 3-38.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-setuptools_scm | Advisory build | 1.15.7-6.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python2-sqlalchemy | Advisory build | 1.3.2-2.module_el8.6.0+2781+fed64c13 | ALSA-2020:4654 |
| AlmaLinux | 8 | python38-Cython | Advisory build | 0.29.14-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-asn1crypto | Advisory build | 1.2.0-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-cffi | Advisory build | 1.13.2-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-chardet | Advisory build | 3.0.4-19.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-cryptography | Advisory build | 2.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-idna | Advisory build | 2.8-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-markupsafe | Advisory build | 1.1.1-6.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-mod_wsgi | Advisory build | 4.6.8-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2 | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2-doc | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-psycopg2-tests | Advisory build | 2.8.4-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pycparser | Advisory build | 2.19-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pysocks | Advisory build | 1.7.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-pytz | Advisory build | 2019.3-3.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-requests | Advisory build | 2.22.0-9.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| AlmaLinux | 8 | python38-scipy | Advisory build | 1.3.1-4.module_el8.6.0+2778+cd494b30 | ALSA-2020:4641 |
| Alpine Linux | v3.12 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.13 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.14 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.15 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.16 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.17 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.18 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.19 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.20 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.21 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.22 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.23 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Alpine Linux | v3.24 | python3 | Fixed | 3.8.5-r0 | Package fix record |
| Debian | stretch | python2.7 | Advisory build | 2.7.13-2+deb9u4 | DLA-2337-1 |
| Debian | stretch | python3.5 | Advisory build | 3.5.3-1+deb9u3 | DLA-2456-1 |
| Oracle Linux | 7 | pythonx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-debugaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-debugx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-develaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-develx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-libsaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-libsx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-testaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-testx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-toolsaarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python-toolsx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | python3aarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3x86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-debugaarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-debugx86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-develaarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-develx86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-idleaarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-idlex86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-libsaarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-libsx86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-testaarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-testx86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-tkinteraarch64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | python3-tkinterx86_64 | Advisory build | 0:3.6.8-18.0.1.el7 | ELSA-2020-5010 |
| Oracle Linux | 7 | tkinteraarch64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 7 | tkinterx86_64 | Advisory build | 0:2.7.5-90.0.1.el7 | ELSA-2020-5009 |
| Oracle Linux | 8 | babelaarch64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | babelx86_64 · python27 · 2.7b | Advisory build | 0:2.5.1-9.module+el8.3.0+7833+4aaf98ce | ELSA-2020-4654 |
| Oracle Linux | 8 | platform-pythonaarch64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
| Oracle Linux | 8 | platform-pythonx86_64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
| Oracle Linux | 8 | platform-python-debugaarch64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
| Oracle Linux | 8 | platform-python-debugx86_64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
| Oracle Linux | 8 | platform-python-develaarch64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
| Oracle Linux | 8 | platform-python-develx86_64 | Advisory build | 0:3.6.8-31.0.1.el8 | ELSA-2020-4433 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-835 CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')
References
28- openSUSE-SU-2020:1254 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00051.html
- openSUSE-SU-2020:1257 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00052.html
- openSUSE-SU-2020:1258 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00053.html
- openSUSE-SU-2020:1265 http://lists.opensuse.org/opensuse-security-announce/2020-08/msg00056.html
- https://bugs.python.org/issue39017
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://github.com/python/cpython/pull/21454
- [debian-lts-announce] 20200822 [SECURITY] [DLA 2337-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2020/08/msg00034.html
- [debian-lts-announce] 20201119 [SECURITY] [DLA 2456-1] python3.5 security update https://lists.debian.org/debian-lts-announce/2020/11/msg00032.html
- [debian-lts-announce] 20230524 [SECURITY] [DLA 3432-1] python2.7 security update https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
- FEDORA-2020-c539babb0a https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/36XI3EEQNMHGOZEI63Y7UV6XZRELYEAU/
- FEDORA-2020-e9251de272 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAXHCY4V3LPAAJOBCJ26ISZ4NUXQXTUZ/
- FEDORA-2020-efb908b6a8 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CNHPQGSP2YM3JAUD2VAMPXTIUQTZ2M2U/
- FEDORA-2020-982b2950db https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CTUNTBJ3POHONQOTLEZC46POCIYYTAKZ/
- FEDORA-2020-bb919e575e https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LE4O3PNDNNOMSKHNUKZKD3NGHIFUFDPX/
- FEDORA-2020-87c0a0a52d https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NTBKKOLFFNHG6CM4ACDX4APHSD5ZX5N4/
- FEDORA-2020-d30881c970 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OXI72HIHMXCQFWTULUXDG7VDA2BCYL4Y/
- FEDORA-2020-826b24c329 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PDKKRXLNVXRF6VGERZSR3OMQR5D5QI6I/
- FEDORA-2020-97d775e649 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TOGKLGTXZLHQQFBVCAPSUDA6DOOJFNRY/
- FEDORA-2020-c3b07cc5c9 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V3TALOUBYU2MQD4BPLRTDQUMBKGCAXUA/
- FEDORA-2020-d808fdd597 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V53P2YOLEQH4J7S5QHXMKMZYFTVVMTMO/
- FEDORA-2020-dfb11916cc https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VT4AF72TJ2XNIKCR4WEBR7URBJJ4YZRD/
- FEDORA-2020-1ddd5273d6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILCHHTNLH4GG4GSQBX2MZRKZBXOLCKE/
- FEDORA-2020-aab24d3714 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YSL3XWVDMSMKO23HR74AJQ6VEM3C2NTS/
- GLSA-202008-01 https://security.gentoo.org/glsa/202008-01
- https://security.netapp.com/advisory/ntap-20200731-0002/
- USN-4428-1 https://usn.ubuntu.com/4428-1/
- https://www.oracle.com/security-alerts/cpujan2021.html
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 03d12a16ae587b2986df953d5222262a77f816f8c3fd6fb0ddabb365f985b4bb
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record