
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-6232 affects CPython's tarfile module, where regular expressions allowed excessive backtracking during tarfile.TarFile header parsing, making it vulnerable to ReDoS (Regular Expression Denial of Service) attacks via specifically-crafted tar archives. The vulnerability was discovered and disclosed in September 2024, affecting multiple Python versions up to 3.12.5 and various alpha releases of 3.13.0 (Python Security, NVD).
The vulnerability stems from backtracking issues in the parsing of header values, specifically affecting hdrcharset, PAX, and GNU sparse headers. The CVSS v3.1 base score is 7.5 (HIGH) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue is classified under CWE-1333 (Inefficient Regular Expression Complexity) (NVD).
Successful exploitation of this vulnerability could lead to a Denial of Service (DoS) condition through ReDoS attacks. The vulnerability affects the availability of the system while having no direct impact on confidentiality or integrity (NetApp Advisory).
Fixed versions have been released for multiple Python branches: 3.12.6, 3.11.10, 3.10.15, 3.9.20, and 3.8.20. Users are advised to upgrade to these patched versions. The fix involves rewriting the header parsing to be stricter and removing backtracking from the parsing process (Python PR).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."