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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 2 - Core | python3 | 2022-12-01 20:31 | ALAS2-2022-1896 |
Amazon Linux 2023 | python3.9 | 2023-03-06 17:50 | ALAS2023-2023-116 |
Amazon Linux 2 - Python3.8 Extra | python38 | 2023-08-21 21:00 | ALAS2PYTHON3.8-2023-007 |
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
NVD | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |