CVE Vulnerabilities

CVE-2019-20907

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Jul 13, 2020 | Modified: Nov 07, 2023
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

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

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

Name Vendor Start Version End Version
Python Python 3.5.0 (including) 3.5.10 (excluding)
Python Python 3.6.0 (including) 3.6.12 (excluding)
Python Python 3.7.0 (including) 3.7.9 (excluding)
Python Python 3.8.0 (including) 3.8.5 (excluding)

References