Python Int Parsing Slowdown (CVE-2020-10735)
CVE-2020-10735 Published on September 9, 2022
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.
Vulnerability Analysis
CVE-2020-10735 can be exploited with local system access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.
Weakness Type
Incorrect Type Conversion or Cast
The software does not correctly convert an object, resource, or structure from one type to a different type.
Products Associated with CVE-2020-10735
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2020-10735 are published in these products:
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.