{"id":"CVE-2024-7592","published":"2024-08-19T19:06:45Z","modified":"2025-11-03T22:32:52Z","title":"Quadratic complexity parsing cookies with backslashes","vendor":"Python Software Foundation","product":"CPython","tier":"tail","description":{"text":"There is a LOW severity vulnerability affecting CPython, specifically the\n'http.cookies' standard library module.\n\n\nWhen parsing cookies that contained backslashes for quoted characters in\nthe cookie value, the parser would use an algorithm with quadratic\ncomplexity, resulting in excess CPU resources being used while parsing the\nvalue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.02303,"percentile":0.83764,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/python/cpython/pull/123075","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/123067","tags":["issue-tracking"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/","tags":["vendor-advisory"]},{"url":"https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef","tags":["patch"]},{"url":"https://security.netapp.com/advisory/ntap-20241018-0006/","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":[]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":16.75},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"python-software-foundation","affectedVersions":[{"vendor":"Python Software Foundation","product":"CPython","versions":["< 3.8.20",">= 3.9.0, < 3.9.20",">= 3.10.0, < 3.10.15",">= 3.11.0, < 3.11.10",">= 3.12.0, < 3.12.6",">= 3.13.0a1, < 3.13.0rc2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-09-03T17:21:02.520596Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-48488","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-software-foundation-cpython-cve-2024-7592","children":[{"from":"CVE-2024-7592","to":"CVE-2026-0672","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["Lib/http/cookies.py"],"commits":["https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621","https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1","https://github.com/python/cpython/commit/95746b3a13a985787ef53b977129041971ed7f70","https://github.com/python/cpython/commit/712452e6f1d4b9f7f8c4c92ebfcaac1705faa440"],"basis":"rarely changed file"}]}]}}