Недостаток был найден в питоне. В алгоритмах с квадратичной временной сложностью, использующих недвоичные базы, при использовании int("text") системе может потребоваться 50 мс для разбора строки int со 100 000 цифр и 5 с для 1 000 000 цифр (плавающий, десятичный, int.from_bytes(), и int() для двоичных баз 2, 4, 8, 16 и 32 не затрагиваются). Самая большая угроза от этой уязвимости — это доступность системы.
Показать оригинальное описание (EN)
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 v3.1
Тип уязвимости (CWE)
Уязвимые продукты 23
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.7.0
|
3.7.14
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.8.0
|
3.8.14
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.9.0
|
3.9.14
|
|
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
|
3.10.0
|
3.10.7
|
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha1:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha2:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha3:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha4:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha5:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha6:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:alpha7:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:beta1:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:beta2:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:beta3:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:beta4:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:beta5:*:*:*:*:*:*
|
— | — |
|
Python Python
cpe:2.3:a:python:python:3.11.0:rc1:*:*:*:*:*:*
|
— | — |
|
Redhat Quay
cpe:2.3:a:redhat:quay:3.0.0:*:*:*:*:*:*:*
|
— | — |
|
Redhat Software_Collections
cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
|
— | — |
|
Fedoraproject Fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
|
— | — |
|
Redhat Enterprise_Linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
|
— | — |