CVEvulnerability

CVE-2024-7592

7.5 HIGH Published 2024-08-19 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2024-08-19
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333, CWE-400

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 configurations

• python python (< 3.8.20) • python python (>= 3.9.0 < 3.9.20) • python python (>= 3.10.0 < 3.10.15) • python python (>= 3.11.0 < 3.11.10) • python python (>= 3.12.0 < 3.12.6) • python python 3.13.0

Related

Weakness · CWE (2)

  • CWE-1333 Inefficient Regular Expression Complexity weakness
  • CWE-400 Uncontrolled Resource Consumption weakness

References