CVE & CISA-KEV Catalog

CVE-2019-20907

HIGHEPSS 93th pctl
7.5
CVSS v3
NVD

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.

How to fix

Remediation Available
pypy3Debian
Fixed in:7.3.3+dfsg-1CVE-2019-20907
Fixed in:7.3.3+dfsg-1CVE-2019-20907
Fixed in:7.3.3+dfsg-1CVE-2019-20907
Fixed in:7.3.3+dfsg-1CVE-2019-20907
python2.7Ubuntu
Fixed in:2.7.6-8ubuntu0.6+esm6USN-4428-1
Fixed in:2.7.12-1ubuntu0~16.04.12USN-4428-1
Fixed in:2.7.17-1~18.04ubuntu1.1USN-4428-1
Fixed in:2.7.18-1~20.04.1USN-4754-3
python2.7-minimalUbuntu
Fixed in:2.7.6-8ubuntu0.6+esm6USN-4428-1
Fixed in:2.7.12-1ubuntu0~16.04.12USN-4428-1
Fixed in:2.7.17-1~18.04ubuntu1.1USN-4428-1
Fixed in:2.7.18-1~20.04.1USN-4754-3
python3.10Ubuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.10-minimalUbuntu
Fixed in:3.10.12-1~22.04.4USN-6891-1
python3.11Ubuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.11-minimalUbuntu
Fixed in:3.11.0~rc1-1~22.04.1~esm1USN-6891-1
Fixed in:3.11.6-3ubuntu0.1USN-6891-1
python3.12Ubuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.12-minimalUbuntu
Fixed in:3.12.0-1ubuntu0.1USN-6891-1
python3.4Ubuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm7USN-4428-1
python3.4-minimalUbuntu
Fixed in:3.4.3-1ubuntu1~14.04.7+esm7USN-4428-1
python3.5Ubuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.11USN-4428-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
python3.5-minimalUbuntu
Fixed in:3.5.2-2ubuntu0~16.04.4~14.04.1+esm1USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.13+esm13USN-6891-1
Fixed in:3.5.2-2ubuntu0~16.04.11USN-4428-1
python3.6Ubuntu
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
Fixed in:3.6.9-1~18.04ubuntu1.1USN-4428-1
python3.6-minimalUbuntu
Fixed in:3.6.9-1~18.04ubuntu1.1USN-4428-1
Fixed in:3.6.9-1~18.04ubuntu1.13+esm2USN-6891-1
python3.7Ubuntu
Fixed in:3.7.5-2~18.04.4USN-4754-3
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
python3.7-minimalUbuntu
Fixed in:3.7.5-2ubuntu1~18.04.2+esm3USN-6891-1
Fixed in:3.7.5-2~18.04.4USN-4754-3
python3.8Ubuntu
Fixed in:3.8.0-3~18.04.1USN-4754-3
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
Fixed in:3.8.2-1ubuntu1.2USN-4428-1
python3.8-minimalUbuntu
Fixed in:3.8.0-3~18.04.1USN-4754-3
Fixed in:3.8.0-3ubuntu1~18.04.2+esm2USN-6891-1
Fixed in:3.8.2-1ubuntu1.2USN-4428-1
Fixed in:3.8.10-0ubuntu1~20.04.10USN-6891-1
python3.9Ubuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
python3.9-minimalUbuntu
Fixed in:3.9.5-3ubuntu0~20.04.1+esm2USN-6891-1
Python 2Windows application
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation
Python 3.10Windows application
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation
Python 3.11Windows application
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Python 3.12Windows application
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Python 3.8Windows application
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Python 3.9Windows application
Affected:3.8.0 3.8.5Fixed in:3.8.5Python Software Foundation
Affected:3.5.0 3.5.10Fixed in:3.5.10Python Software Foundation
Affected:3.7.0 3.7.9Fixed in:3.7.9Python Software Foundation
Affected:3.6.0 3.6.12Fixed in:3.6.12Python Software Foundation

TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

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

Exploit Intelligence

6.25%probability of exploitation in 30 days
93rdpercentile

High risk: more likely to be exploited than 93% of all known CVEs.

References

Related Vulnerabilities

Other CWE-835 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2020-13935High7.587%-Fix
CVE-2020-36227High7.578%-Fix
CVE-2024-20353High8.671%KEV-
CVE-2022-0778High7.571%-Fix
CVE-2019-14241High7.570%--
CVE-2017-16944High7.563%-Fix

Common questions

How do I fix CVE-2019-20907?

Published advisories record a fix for 27 affected products. The "How to fix" section on this page lists the fixed version and source advisory for each one, so apply the entry matching what you actually run.

Is CVE-2019-20907 being actively exploited?

Not that we know of. CVE-2019-20907 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 6.3% is the estimated probability that it will be exploited in the next 30 days. That is higher than 93% of all scored CVEs.

How severe is CVE-2019-20907?

CVE-2019-20907 has a CVSS v3 base score of 7.5, rated high. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.

What does CVE-2019-20907 affect?

Published advisories record a fix for pypy3 (Debian), python2.7 (Ubuntu), python2.7-minimal (Ubuntu), python3.10 (Ubuntu), and 23 more. Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.

Embed a live status badge for CVE-2019-20907
CVE-2019-20907 severity badge

Markdown

[![CVE-2019-20907](https://tridentstack.com/cve/badge/CVE-2019-20907.svg)](https://tridentstack.com/cve/CVE-2019-20907)

HTML

<a href="https://tridentstack.com/cve/CVE-2019-20907"><img src="https://tridentstack.com/cve/badge/CVE-2019-20907.svg" alt="CVE-2019-20907"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

See how it worksStart freeThis CVE lookup is free and always will be.

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.