Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.8.20affected
  • 3.9.0 to < 3.9.20affected
  • 3.10.0 to < 3.10.15affected
  • 3.11.0 to < 3.11.10affected
  • 3.12.0 to < 3.12.6affected
  • 3.13.0a1 to < 3.13.0rc2affected

References