Back
CVE-2024-7592
Quadratic complexity parsing cookies with backslashes
High7.5EPSS 2.3%
- Published
- Updated
- Reserved
- Assigned by
- PSF
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 2.3% · top 17% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
Python Software Foundation · CPython
- affected < 3.8.20
- affected 3.9.0 – < 3.9.20
- affected 3.10.0 – < 3.10.15
- affected 3.11.0 – < 3.11.10
- affected 3.12.0 – < 3.12.6
- affected 3.13.0a1 – < 3.13.0rc2
References (12)
- https://github.com/python/cpython/pull/123075 (opens in a new tab)patch
- https://github.com/python/cpython/issues/123067 (opens in a new tab)issue-tracking
- https://mail.python.org/archives/list/[email protected]/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621 (opens in a new tab)patch
- https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1 (opens in a new tab)patch
- https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06 (opens in a new tab)patch
- https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a (opens in a new tab)patch
- https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f (opens in a new tab)patch
- https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774 (opens in a new tab)patch
- https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef (opens in a new tab)patch
- https://security.netapp.com/advisory/ntap-20241018-0006/ (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2024-7592)Record last updated .