CVE-2024-7592

Name
CVE-2024-7592
Description
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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
patch https://github.com/python/cpython/pull/123075
issue-tracking https://github.com/python/cpython/issues/123067
vendor-advisory https://mail.python.org/archives/list/security-announce@python.org/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/
patch https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621
patch https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1
patch https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06
patch https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a
patch https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f
patch https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774
cna@python.org https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef
af854a3a-2127-422b-91ae-364da2661108 https://security.netapp.com/advisory/ntap-20241018-0006/
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html

Match rules

CPE URI Source package Min version Max version
cpython >= 0 < 3.8.20
cpython >= 3.9.0 < 3.9.20
cpython >= 3.10.0 < 3.10.15
cpython >= 3.11.0 < 3.11.10
cpython >= 3.12.0 < 3.12.6
cpython >= 3.13.0a1 < 3.13.0rc2
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= None <= 3.12.5
cpe:2.3:a:python:python:3.13.0:alpha0:*:*:*:*:*:* python == None == 3.13.0
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= None < 3.8.20
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.9.0 < 3.9.20
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.10.0 < 3.10.15
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.11.0 < 3.11.10
cpe:2.3:a:python:python:*:*:*:*:*:*:*:* python >= 3.12.0 < 3.12.6

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
python3 edge-main 3.12.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.22-main 3.12.6-r0 None fixed
python3 3.21-main 3.12.6-r0 None fixed
python3 3.20-main 3.12.6-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.19-main 3.11.10-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.18-main 3.11.10-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
python3 3.17-main 3.10.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
py3-tornado 3.20-community 6.4.2-r0 Michael M <mic@hael.xyz> fixed