Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

CVE-2024-7592

Quadratic complexity parsing cookies with backslashes

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.8.20affected
  • 3.9.0 to < 3.9.20affected
  • 3.10.0 to < 3.10.15affected
  • 3.11.0 to < 3.11.10affected
  • 3.12.0 to < 3.12.6affected
  • 3.13.0a1 to < 3.13.0rc2affected

References