7.5
HIGH
CVE-2024-6232
Python CPython ReDoS Vulnerability
Description

There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.

INFO

Published Date :

Sept. 3, 2024, 1: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-6232 has a 1 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-6232 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: 2 months 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.

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-6232 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-6232 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/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64d [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877 [No types assigned]
  • Initial Analysis by [email protected]

    Sep. 04, 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/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06 No Types Assigned https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06 Patch
    Changed Reference Type https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4 No Types Assigned https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4 Patch
    Changed Reference Type https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf No Types Assigned https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf Patch
    Changed Reference Type https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373 No Types Assigned https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373 Patch
    Changed Reference Type https://github.com/python/cpython/issues/121285 No Types Assigned https://github.com/python/cpython/issues/121285 Exploit, Issue Tracking, Patch
    Changed Reference Type https://github.com/python/cpython/pull/121286 No Types Assigned https://github.com/python/cpython/pull/121286 Issue Tracking, Patch
    Changed Reference Type https://mail.python.org/archives/list/[email protected]/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/ No Types Assigned https://mail.python.org/archives/list/[email protected]/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/ Vendor Advisory
    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 Modified by [email protected]

    Sep. 03, 2024

    Action Type Old Value New Value
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbf [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373 [No types assigned]
  • CVE Received by [email protected]

    Sep. 03, 2024

    Action Type Old Value New Value
    Added Description There is a MEDIUM severity vulnerability affecting CPython. Regular expressions that allowed excessive backtracking during tarfile.TarFile header parsing are vulnerable to ReDoS via specifically-crafted tar archives.
    Added Reference Python Software Foundation https://github.com/python/cpython/pull/121286 [No types assigned]
    Added Reference Python Software Foundation https://github.com/python/cpython/issues/121285 [No types assigned]
    Added Reference Python Software Foundation https://mail.python.org/archives/list/[email protected]/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/ [No types assigned]
    Added CWE Python Software Foundation CWE-1333
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-6232 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-6232 weaknesses.

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