CVE-2020-10735Incorrect Type Conversion or Cast in Python

Severity
7.5HIGHNVD
EPSS
0.4%
top 40.28%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 9
Latest updateJul 15

Description

A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases, when using int("text"), a system could take 50ms to parse an int string with 100,000 digits and 5s for 1,000,000 digits (float, decimal, int.from_bytes(), and int() for binary bases 2, 4, 8, 16, and 32 are not affected). The highest threat from this vulnerability is to system availability.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitability: 3.9 | Impact: 3.6

Affected Packages3 packages

NVDpython/python3.7.03.7.14+4
CVEListV5python/pythonpython 3.7
NVDredhat/quay3.0.0

Also affects: Fedora 35, 36, 37, Enterprise Linux 8.0

Patches

🔴Vulnerability Details

3
GHSA
GHSA-6jr7-xr67-mgxw: A flaw was found in python2022-09-10
CVEList
CVE-2020-10735: A flaw was found in python2022-09-09
OSV
CVE-2020-10735: A flaw was found in python2022-09-09

📋Vendor Advisories

5
Oracle
Oracle Oracle Communications Risk Matrix: Configuration (Python) — CVE-2020-107352023-07-15
Oracle
Oracle Oracle Database Server Risk Matrix: Oracle Database (Python) — CVE-2020-107352023-01-15
Microsoft
A flaw was found in python. In algorithms with quadratic time complexity using non-binary bases when using int("text") a system could take 50ms to parse an int string with 100000 digits and 5s for 1002022-09-13
Red Hat
python: int() type in PyLong_FromString() does not limit amount of digits converting text to int leading to DoS2022-09-02
Debian
CVE-2020-10735: pypy3 - A flaw was found in python. In algorithms with quadratic time complexity using n...2020

💬Community

1
Bugzilla
CVE-2020-10735 python: int() type in PyLong_FromString() does not limit amount of digits converting text to int leading to DoS2020-05-11
CVE-2020-10735 — Incorrect Type Conversion or Cast | cvebase