CVE-2024-7592

Quadratic complexity parsing cookies with backslashes

HIGH
7.5
CVSS Score
Published: August 19, 2024 at 07:06 PM UTC
Updated: June 17, 2026 at 08:20 AM UTC
1 product affected across 1 vendorPython

Using CPython by Python Software Foundation?

Get instant alerts when new vulnerabilities affect CPython - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%
SSVC
PoC

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.8.203.10.0 ≤ v < 3.10.153.11.0 ≤ v < 3.11.103.12.0 ≤ v < 3.12.63.13.0a1 ≤ v < 3.13.0rc23.9.0 ≤ v < 3.9.203.10.03.11.03.12.03.13.0 alpha03.13.0 alpha13.13.0 alpha23.13.0 alpha33.13.0 alpha43.13.0 alpha53.13.0 alpha63.13.0 beta13.13.0 beta23.13.0 beta33.13.0 beta43.13.0 rc13.13.0a13.9.0
Affected range stops below 3.10.15, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.11.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.12.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.0rc2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.8.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.9.20, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card