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.
Source :
[email protected]
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-6232
.
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
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
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.