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 :

Feb. 5, 2025, 9:13 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2024-7592 has a 4 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: 6 months, 4 weeks 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: 7 months, 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: 3 months ago
1 stars 0 fork 0 watcher
Born at : March 25, 2022, 2:53 a.m. This repo has been linked 14 different CVEs too.

None

Updated: 5 months ago
0 stars 0 fork 0 watcher
Born at : Oct. 18, 2021, 11:07 a.m. This repo has been linked 16 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.

  • Modified Analysis by [email protected]

    Feb. 05, 2025

    Action Type Old Value New Value
    Changed 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:*:*:*:*:*:* OR *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions up to (excluding) 3.8.20 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.9.0 up to (excluding) 3.9.20 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.10.0 up to (excluding) 3.10.15 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.11.0 up to (excluding) 3.11.10 *cpe:2.3:a:python:python:*:*:*:*:*:*:*:* versions from (including) 3.12.0 up to (excluding) 3.12.6 *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:*:*:*:*:*:*
    Changed Reference Type https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621 No Types Assigned https://github.com/python/cpython/commit/391e5626e3ee5af267b97e37abc7475732e67621 Patch
    Changed Reference Type https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef No Types Assigned https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef Patch
    Changed Reference Type https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06 No Types Assigned https://github.com/python/cpython/commit/a77ab24427a18bff817025adb03ca920dc3f1a06 Patch
    Changed Reference Type https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a No Types Assigned https://github.com/python/cpython/commit/b2f11ca7667e4d57c71c1c88b255115f16042d9a Patch
    Changed Reference Type https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f No Types Assigned https://github.com/python/cpython/commit/d4ac921a4b081f7f996a5d2b101684b67ba0ed7f Patch
    Changed Reference Type https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774 No Types Assigned https://github.com/python/cpython/commit/d662e2db2605515a767f88ad48096b8ac623c774 Patch
    Changed Reference Type https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1 No Types Assigned https://github.com/python/cpython/commit/dcc3eaef98cd94d6cb6cb0f44bd1c903d04f33b1 Patch
    Changed Reference Type https://security.netapp.com/advisory/ntap-20241018-0006/ No Types Assigned https://security.netapp.com/advisory/ntap-20241018-0006/ Third Party Advisory
  • CVE Modified by [email protected]

    Jan. 31, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/python/cpython/commit/44e458357fca05ca0ae2658d62c8c595b048b5ef
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20241018-0006/
  • 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