CVE-2024-6232 Details
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.
A medium severity vulnerability has been identified in the CPython tarfile module, specifically in versions prior to 3.13.0rc2. This vulnerability arises from regular expressions used in header parsing that allowed excessive backtracking, creating a potential for regular expression denial-of-service (ReDoS) attacks. The issue can be exploited by using specially crafted tar archives that trigger the backtracking during the parsing of header values.
Users can upgrade to CPython versions 3.13.0rc2 or later, including the latest releases in the 3.8, 3.9, 3.10, 3.11 and 3.12 series, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 4, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| python python | < 3.8.20 >= 3.9.0, < 3.9.20 >= 3.10.0, < 3.10.15 >= 3.11.0, < 3.11.10 >= 3.12.0, < 3.12.6 3.13.0 alpha0 3.13.0 alpha1 3.13.0 alpha2 3.13.0 alpha3 3.13.0 alpha4 3.13.0 alpha5 3.13.0 alpha6 3.13.0 beta1 3.13.0 beta2 3.13.0 beta3 3.13.0 beta4 3.13.0 rc1 |
CPE
Remediation
| |
Change History
11 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 3, 2025 | CVE Modified | CVE |
| Mar 20, 2025 | CVE Modified | CISA-ADP |
| Feb 5, 2025 | Modified Analysis | [email protected] |
| Jan 31, 2025 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| Sep 4, 2024 | CVE Modified | [email protected] |
| Sep 4, 2024 | Initial Analysis | [email protected] |
| Sep 3, 2024 | CVE Modified | [email protected] |
| Sep 3, 2024 | New CVE Received | [email protected] |