Описание
There is a LOW severity vulnerability affecting CPython, specifically the
'http.cookies' standard library module.
When parsing cookies that contained backslashes for quoted characters in
the cookie value, the parser would use an algorithm with quadratic
complexity, resulting in excess CPU resources being used while parsing the
value.
A flaw was found in the http.cookies
module in the Python package. When parsing cookies that contain backslashes, under certain circumstances, the module uses an algorithm with quadratic complexity, leading to excessive CPU consumption.
Отчет
This vulnerability is classified as low severity, as also marked by upstream Python, because while it can cause excessive CPU usage, its exploitability is constrained by practical factors. Most production environments enforce request size limits (e.g., via web servers like Nginx or Apache), preventing attackers from sending arbitrarily large cookies. Additionally, the impact is localized to individual requests, meaning it does not persistently degrade system performance or lead to remote code execution (RCE). The attack requires multiple large requests to have a significant effect, making it inefficient compared to more severe denial-of-service (DoS) vectors.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Enterprise Linux 6 | python | Fix deferred | ||
Red Hat Enterprise Linux 7 | python | Fix deferred | ||
Red Hat Enterprise Linux 7 | python3 | Fix deferred | ||
Red Hat Enterprise Linux 8 | gimp:flatpak/python2 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python3 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python3.11 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python3.12 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python36:3.6/python36 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python39:3.9/python39 | Fix deferred | ||
Red Hat Enterprise Linux 8 | python39-devel:3.9/python39 | Fix deferred |
Показывать по
Ссылки на источники
Дополнительная информация
Статус:
4.8 Medium
CVSS3
Связанные уязвимости
There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.
There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module. When parsing cookies that contained backslashes for quoted characters in the cookie value, the parser would use an algorithm with quadratic complexity, resulting in excess CPU resources being used while parsing the value.
There is a LOW severity vulnerability affecting CPython, specifically ...
4.8 Medium
CVSS3