CVE-2024-7592 Quadratic complexity parsing cookies with backslashes
HighCVSS 7.5
EPSS 2.3%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
21 packages: 19 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/pypy3(Debian 12) | = 7.3.11+dfsg-2; = 7.3.11+dfsg-2+deb12u1; = 7.3.11+dfsg-2+deb12u2; = 7.3.11+dfsg-2+deb12u3 +29 more | No fix listed | No fix yet |
| ubuntu/python3.11(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| alpine/py3-tornado(Alpine v3.20) | < 6.4.2-r0 | 6.4.2-r0 | Fixed |
| alpine/python3(Alpine v3.17) | < 3.10.15-r0 | 3.10.15-r0 | Fixed |
| alpine/python3(Alpine v3.18) | < 3.11.10-r0 | 3.11.10-r0 | Fixed |
| alpine/python3(Alpine v3.19) | < 3.11.10-r0 | 3.11.10-r0 | Fixed |
| alpine/python3(Alpine v3.20) | < 3.12.6-r0 | 3.12.6-r0 | Fixed |
| alpine/python3(Alpine v3.21) | < 3.12.6-r0 | 3.12.6-r0 | Fixed |
| alpine/python3(Alpine v3.22) | < 3.12.6-r0 | 3.12.6-r0 | Fixed |
| alpine/python3(Alpine v3.23) | < 3.12.6-r0 | 3.12.6-r0 | Fixed |
| alpine/python3(Alpine v3.24) | < 3.12.6-r0 | 3.12.6-r0 | Fixed |
| debian/pypy3(Debian 13) | < 7.3.18+dfsg-1 | 7.3.18+dfsg-1 | Fixed |
| debian/pypy3(Debian 14) | < 7.3.18+dfsg-1 | 7.3.18+dfsg-1 | Fixed |
| debian/python3.11(Debian 12) | < 3.11.2-6+deb12u5; = 3.11.2-6; = 3.11.2-6+deb12u1; = 3.11.2-6+deb12u2 +2 more | 3.11.2-6+deb12u5 | Fixed |
| debian/python3.13(Debian 13) | < 3.13.0~rc2-1 | 3.13.0~rc2-1 | Fixed |
| python | < 3.8.20; = 3.13.0-alpha0; = 3.13.0-alpha1; = 3.13.0-alpha2 +13 more | 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6 | Fixed |
| python cpython | < 3.8.20; >= 3.9.0, < 3.9.20; >= 3.10.0, < 3.10.15; >= 3.11.0, < 3.11.10 +2 more | 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6, 3.13.0rc2 | Fixed |
| Python Software Foundation CPython | < 3.8.20; >= 3.9.0, < 3.9.20; >= 3.10.0, < 3.10.15; >= 3.11.0, < 3.11.10 +2 more | 3.8.20, 3.9.20, 3.10.15, 3.11.10, 3.12.6, 3.13.0rc2 | Fixed |
| ubuntu/python2.7(Ubuntu 22.04) | < 2.7.18-13ubuntu1.2+esm2 | 2.7.18-13ubuntu1.2+esm2 | Fixed |
| ubuntu/python3.10(Ubuntu 22.04) | < 3.10.12-1~22.04.6 | 3.10.12-1~22.04.6 | Fixed |
| ubuntu/python3.12(Ubuntu 24.04) | < 3.12.3-1ubuntu0.2 | 3.12.3-1ubuntu0.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:12) | All versions | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.11+dfsg-2+deb12u3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.12~rc2+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.13+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.14+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.15+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.16+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.17+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.18+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.19+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.20+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-1 | No fix listed |
Show 59 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-3 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.21+dfsg-4 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.22+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 7.3.23+dfsg-2 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.0+dfsg-1 | No fix listed |
| debian/pypy3(Debian:12) | = 8.0.1+dfsg-1 | No fix listed |
| debian/pypy3(Debian:13) | < 7.3.18+dfsg-1 | 7.3.18+dfsg-1 |
| debian/pypy3(Debian:14) | < 7.3.18+dfsg-1 | 7.3.18+dfsg-1 |
| debian/python3.11(Debian:12) | < 3.11.2-6+deb12u5 | 3.11.2-6+deb12u5 |
| debian/python3.11(Debian:12) | = 3.11.2-6 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u1 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u2 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u3 | No fix listed |
| debian/python3.11(Debian:12) | = 3.11.2-6+deb12u4 | No fix listed |
| debian/python3.13(Debian:13) | < 3.13.0~rc2-1 | 3.13.0~rc2-1 |
| ubuntu/python3.10(Ubuntu:22.04) | < 3.10.12-1~22.04.6 | 3.10.12-1~22.04.6 |
| ubuntu/python2.7(Ubuntu:22.04) | < 2.7.18-13ubuntu1.2+esm2 | 2.7.18-13ubuntu1.2+esm2 |
| ubuntu/python3.11(Ubuntu:22.04) | All versions | No fix listed |
| Python Software Foundation CPython | < 3.8.20 | 3.8.20 |
| Python Software Foundation CPython | >= 3.9.0, < 3.9.20 | 3.9.20 |
| Python Software Foundation CPython | >= 3.10.0, < 3.10.15 | 3.10.15 |
| Python Software Foundation CPython | >= 3.11.0, < 3.11.10 | 3.11.10 |
| Python Software Foundation CPython | >= 3.12.0, < 3.12.6 | 3.12.6 |
| Python Software Foundation CPython | >= 3.13.0a1, < 3.13.0rc2 | 3.13.0rc2 |
| python cpython | < 3.8.20 | 3.8.20 |
| python cpython | >= 3.9.0, < 3.9.20 | 3.9.20 |
| python cpython | >= 3.10.0, < 3.10.15 | 3.10.15 |
| python cpython | >= 3.11.0, < 3.11.10 | 3.11.10 |
| python cpython | >= 3.12.0, < 3.12.6 | 3.12.6 |
| python cpython | >= 3.13.0a1, < 3.13.0rc2 | 3.13.0rc2 |
| alpine/py3-tornado(Alpine:v3.20) | < 6.4.2-r0 | 6.4.2-r0 |
| alpine/python3(Alpine:v3.17) | < 3.10.15-r0 | 3.10.15-r0 |
| alpine/python3(Alpine:v3.18) | < 3.11.10-r0 | 3.11.10-r0 |
| alpine/python3(Alpine:v3.19) | < 3.11.10-r0 | 3.11.10-r0 |
| alpine/python3(Alpine:v3.20) | < 3.12.6-r0 | 3.12.6-r0 |
| alpine/python3(Alpine:v3.21) | < 3.12.6-r0 | 3.12.6-r0 |
| alpine/python3(Alpine:v3.22) | < 3.12.6-r0 | 3.12.6-r0 |
| alpine/python3(Alpine:v3.23) | < 3.12.6-r0 | 3.12.6-r0 |
| alpine/python3(Alpine:v3.24) | < 3.12.6-r0 | 3.12.6-r0 |
| ubuntu/python3.12(Ubuntu:24.04) | < 3.12.3-1ubuntu0.2 | 3.12.3-1ubuntu0.2 |
| python | < 3.8.20 | 3.8.20 |
| python | >= 3.9.0, < 3.9.20 | 3.9.20 |
| python | >= 3.10.0, < 3.10.15 | 3.10.15 |
| python | >= 3.11.0, < 3.11.10 | 3.11.10 |
| python | >= 3.12.0, < 3.12.6 | 3.12.6 |
| python | = 3.13.0-alpha0 | No fix listed |
| python | = 3.13.0-alpha1 | No fix listed |
| python | = 3.13.0-alpha2 | No fix listed |
| python | = 3.13.0-alpha3 | No fix listed |
| python | = 3.13.0-alpha4 | No fix listed |
| python | = 3.13.0-alpha5 | No fix listed |
| python | = 3.13.0-alpha6 | No fix listed |
| python | = 3.13.0-beta1 | No fix listed |
| python | = 3.13.0-beta2 | No fix listed |
| python | = 3.13.0-beta3 | No fix listed |
| python | = 3.13.0-beta4 | No fix listed |
| python | = 3.13.0-rc1 | No fix listed |
References
- Debian Security Tracker CVE-2024-7592 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7015-1 vendor-advisory
- USN-7015-2 vendor-advisory
- www.cve.org
- github.com issue-tracking patch
- github.com exploit issue-tracking patch
- mail.python.org mailing-list vendor-advisory
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- github.com patch
- security.netapp.com third-party-advisory
- lists.debian.org
- security.alpinelinux.org vendor-advisory