7.5
HIGH
CVE-2024-7592
Python CPython Cookie Parsing CPU Overload
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.

INFO

Published Date :

Aug. 19, 2024, 7:15 p.m.

Last Modified :

Sept. 4, 2024, 9:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-7592 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2024-7592 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python python

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

HTML C# CSS JavaScript Dockerfile

Updated: 4 weeks, 1 day ago
1 stars 2 fork 2 watcher
Born at : Aug. 30, 2023, 8:51 p.m. This repo has been linked 62 different CVEs too.

Toolkit for k8s administrators/developers.

Dockerfile Shell

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : July 10, 2022, 10:30 p.m. This repo has been linked 33 different CVEs too.

None

Updated: 1 month, 2 weeks ago
1 stars 0 fork 0 watcher
Born at : March 25, 2022, 2:53 a.m. This repo has been linked 9 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-7592 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-7592 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Sep. 04, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774 [No types assigned]
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Sep. 03, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE Modified by [email protected]

    Sep. 03, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1 [No types assigned]
  • Initial Analysis by [email protected]

    Aug. 20, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/python/cpython/issues/123067 No Types Assigned https://github.com/python/cpython/issues/123067 Exploit, Issue Tracking, Patch
    Changed Reference Type https://github.com/python/cpython/pull/123075 No Types Assigned https://github.com/python/cpython/pull/123075 Issue Tracking, Patch
    Changed Reference Type https://mail.python.org/archives/list/[email protected]/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/ No Types Assigned https://mail.python.org/archives/list/[email protected]/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/ Mailing List
    Added CWE NIST CWE-1333
    Added CPE Configuration OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (including) 3.12.5 *cpe:2.3:a:python:python:3.13.0:alpha0:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha5:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:alpha6:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:beta1:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:beta2:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:beta3:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:beta4:*:*:*:*:*:* *cpe:2.3:a:python:python:3.13.0:rc1:*:*:*:*:*:*
  • CVE Received by [email protected]

    Aug. 19, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference Python Software Foundation https://github.com/python/cpython/pull/123075 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/issues/123067 [No types assigned]
    Added Reference Python Software Foundation https://mail.python.org/archives/list/[email protected]/thread/HXJAAAALNUNGCQUS2W7WR6GFIZIHFOOK/ [No types assigned]
    Added CWE Python Software Foundation CWE-400
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-7592 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-7592 weaknesses.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability