CVE-2019-20907 Denial of service in n/a
An attacker can cause a denial of service via an infinite loop in Python's tarfile module by crafting a malicious TAR archive.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-20907?
CVE-2019-20907 is a medium-severity denial of service vulnerability in Canonical Ubuntu Linux, published on 13 Jul 2020. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-835
Which versions are affected by CVE-2019-20907?
It affects 8 products.
Linux distribution packages (40)
python Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-debug Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-libs Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-test Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-tools Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
tkinter Red Hat:enterprise_linux:7::client | All versions | 0:2.7.5-90.el7 |
python-debug Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-90.el7 |
python-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-90.el7 |
python-test Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-90.el7 |
python-tools Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-90.el7 |
tkinter Red Hat:enterprise_linux:7::computenode | All versions | 0:2.7.5-90.el7 |
python Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-debug Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-libs Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-test Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python-tools Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
tkinter Red Hat:enterprise_linux:7::server | All versions | 0:2.7.5-90.el7 |
python Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-debug Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-libs Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-test Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python-tools Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
tkinter Red Hat:enterprise_linux:7::workstation | All versions | 0:2.7.5-90.el7 |
python Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-debug Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-debuginfo Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-devel Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-libs Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-test Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-tools Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
tkinter Red Hat:rhel_aus:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python Red Hat:rhel_e4s:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-debug Red Hat:rhel_e4s:7.4::server | All versions | 0:2.7.5-64.el7_4 |
python-debuginfo Red Hat:rhel_e4s:7.4::server | All versions | 0:2.7.5-64.el7_4 |
Products include Canonical Ubuntu Linux, Debian Debian Linux, Fedoraproject Fedora, Netapp Active Iq Unified Manager, Netapp Cloud Volumes Ontap Mediator, Opensuse Leap and 2 more.
How do I fix CVE-2019-20907?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2019-20907 being exploited?
There is no known exploitation of CVE-2019-20907 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2019-20907, AZL-6825, CLEANSTART-2026-OM27943, DEBIAN-CVE-2019-20907, GHSA-xc97-8p9q-cf27, PSF-2020-2 and 12 more.