{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7592","id":"CVE-2024-7592","title":"Quadratic complexity parsing cookies with backslashes","description":"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.","descriptionLong":"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.","published":"2024-08-19T19:06:45.311Z","updated":"2026-11-10T10:45:36.979582852Z","reserved":"2024-08-07T15:53:07.135Z","status":"Modified","rejected":false,"assigner":"PSF","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"3.8.20","status":"affected","versionType":"python"},{"version":"3.9.0","lessThan":"3.9.20","status":"affected","versionType":"python"},{"version":"3.10.0","lessThan":"3.10.15","status":"affected","versionType":"python"},{"version":"3.11.0","lessThan":"3.11.10","status":"affected","versionType":"python"},{"version":"3.12.0","lessThan":"3.12.6","status":"affected","versionType":"python"},{"version":"3.13.0a1","lessThan":"3.13.0rc2","status":"affected","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-400","CWE-1333"],"aliases":["BIT-libpython-2024-7592","BIT-python-2024-7592","BIT-python-min-2024-7592","PSF-2024-9"],"references":[{"url":"https://github.com/python/cpython/pull/123075","tags":["patch","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/123067","tags":["issue-tracking","Exploit","Issue Tracking","Patch","report"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/","tags":["vendor-advisory","Mailing List","advisory"]},{"url":"https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774","tags":["patch","Patch","fix"]},{"url":"https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef","tags":["patch","Patch","fix"]},{"url":"https://security.netapp.com/advisory/ntap-20241018-0006/","tags":["Third Party Advisory","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7592.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7592","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.02303,"epssPercentile":0.83693,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7592","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7592","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7592","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7592","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}