Skip to content
7.5 High

CVE-2024-7592 There is a LOW severity vulnerability affecting CPython, specifically the 'http.cookies' standard library module

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.

Affected products and versions

Product Affected versions Fixed in
CPython 3.13 3.13.0a1 → < 3.13.0rc2 3.13.0rc2
CPython 3.12 3.12.0 → < 3.12.6 3.12.6
CPython 3.11 3.11.0 → < 3.11.10 3.11.10
CPython 3.10 3.10.0 → < 3.10.15 3.10.15
CPython 3.9 3.9.0 → < 3.9.20 3.9.20
CPython 3.8 earliest → < 3.8.20 3.8.20
cpython 3.13 3.13.0a1 → < 3.13.0rc2 3.13.0rc2
cpython 3.12 3.12.0 → < 3.12.6 3.12.6
cpython 3.11 3.11.0 → < 3.11.10 3.11.10
Show the 3 other branches
Product Affected versions Fixed in
cpython 3.10 3.10.0 → < 3.10.15 3.10.15
cpython 3.9 3.9.0 → < 3.9.20 3.9.20
cpython 3.8 earliest → < 3.8.20 3.8.20

References

Timeline

  1. Published
  2. Last modified
The 79 CVEs of CPython →
Track this CVE