Red Hat VEX
RHVEX-CVE-2024-6232
python: cpython: tarfile: ReDos via excessive backtracking while parsing header values
Details
A regular expression denial of service (ReDos) vulnerability was found in Python's tarfile module. Due to excessive backtracking while tarfile parses headers, an attacker may be able to trigger a denial of service via a specially crafted tar archive.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | tkinter | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-debug | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-test | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python-tools | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | tkinter | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2024-6232
- https://bugzilla.redhat.com/show_bug.cgi?id=2309426
- https://www.cve.org/CVERecord?id=CVE-2024-6232
- https://nvd.nist.gov/vuln/detail/CVE-2024-6232
- https://github.com/python/cpython/issues/121285
- https://github.com/python/cpython/pull/121286
- https://mail.python.org/archives/list/[email protected]/thread/JRYFTPRHZRTLMZLWQEUHZSJXNHM4ACTY/