What’s Vulnerable › Vulnerabilities

CVE-2024-6232: Regular-expression DoS when parsing TarFile headers

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.

Affected products

How to fix

Upgrade to a fixed version: Python 3.10.15, 3.11.10, 3.12.6, 3.8.20. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-6232 or the next vulnerability affects your stack