CVE-2024-6232: high-severity vulnerability in Python Software Foundation CPython
Regular-expression DoS when parsing TarFile headers
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 2.2%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
Python Software Foundation · CPythonRelated CVEs — Python Software Foundation CPython
In the same product, most dangerous first.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%CVE-2025-4517CRITICALArbitrary writes via tarfile realpath overflowEPSS 1.5%
References
https://github.com/python/cpython/commit/34ddb64d088dd7ccc321f6103d23153256caa5d4https://github.com/python/cpython/commit/4eaf4891c12589e3c7bdad5f5b076e4c8392dd06https://github.com/python/cpython/commit/743acbe872485dc18df4d8ab2dc7895187f062c4https://github.com/python/cpython/commit/7d1f50cd92ff7e10a1c15a8f591dde8a6843a64dhttps://github.com/python/cpython/commit/b4225ca91547aa97ed3aca391614afbb255bc877https://github.com/python/cpython/commit/d449caf8a179e3b954268b3a88eb9170be3c8fbfhttps://github.com/python/cpython/commit/ed3a49ea734ada357ff4442996fd4ae71d253373https://github.com/python/cpython/issues/121285https://github.com/python/cpython/pull/121286https://lists.debian.org/debian-lts-announce/2024/12/msg00000.htmlhttps://mail.python.org/archives/list/security-announce@python.org/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/https://security.netapp.com/advisory/ntap-20241018-0007/