CPython http.cookies Quadratic Complexity CPU Exhaustion (CVE20247592)
CVE-2024-7592 Published on August 19, 2024

Quadratic complexity parsing cookies with backslashes
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.

Github Repository Vendor Advisory NVD

Vulnerability Analysis

CVE-2024-7592 is exploitable with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. An automatable proof of concept (POC) exploit exists. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity, and a high impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
UNCHANGED
Confidentiality Impact:
NONE
Integrity Impact:
NONE
Availability Impact:
HIGH

Weakness Type

What is a Resource Exhaustion Vulnerability?

The software does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

CVE-2024-7592 has been classified to as a Resource Exhaustion vulnerability or weakness.


Products Associated with CVE-2024-7592

You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-7592 are published in these products:

 
 
 
 

Affected Versions

Python Software Foundation CPython: cpython:

Vulnerable Packages

The following package name and versions may be associated with CVE-2024-7592

Package Manager Vulnerable Package Versions Fixed In
pip tornado <= 6.4.1 6.4.2

Exploit Probability

EPSS
0.81%
Percentile
73.88%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.