VDB

CVE-2024-6232

CVE-2024-6232 PUBLISHED CVSS 7.5 HIGH

Regular-expression DoS when parsing TarFile headers

Reported by psf · Published September 3, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3.11Amazon Linux3.11.6-1.amzn2023.0.4
python3-develAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.8
python3Amazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.8
python-minBitnami3.12.6, 3.11.10, 3.10.15, 3.9.20, 3.8.20
python3-tkinterAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.8
python-3.10Wolfi3.10.15-r0
python-3.12Chainguard3.12.5-r3
python3-idleAmazon Linux3.9.20-1.amzn2023.0.2
python3.11-tkinterAmazon Linux3.11.6-1.amzn2023.0.4
python-3.10Chainguard3.10.15-r0
python3-libsAmazon Linux3.9.20-1.amzn2023.0.2, 3.7.16-1.amzn2.0.8
python3.11-idleAmazon Linux3.11.6-1.amzn2023.0.4

37 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Python Software FoundationCPython0, 3.9.0, 3.10.0
amazon:2023python3.110
amazon:2023python3-devel0
amazon:2python30
amazon:2python3-tkinter0
wolfipython-3.100
chainguardpython-3.120
amazon:2023python3-idle0
amazon:2023python3.11-tkinter0
chainguardpython-3.100
amazon:2python3-libs0
amazon:2023python3.11-idle0
amazon:2023python3-libs0
chainguardpython-3.80
amazon:2023python-unversioned-command0
amazon:2python3-devel0
chainguardpython-3.130
chainguardpython-3.110
amazon:2python3-tools0
amazon:2023python3.11-debug0

…and 16 more

Timeline

  • Aug 31, 2024 Fix PR Merged
  • Sep 3, 2024 CVE Published
  • Sep 4, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (18 in total, the first dated here)
  • Mar 17, 2026 Security Advisory (50 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (36 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-6232
vulnetix vdb fixes CVE-2024-6232

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-6232/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›