VDB

CVE-2024-8088

CVE-2024-8088 PUBLISHED CVSS 8.7 HIGH

Infinite loop when iterating over zip archive entry names from zipfile.Path

Reported by psf · Published August 22, 2024

There is a HIGH severity vulnerability affecting the CPython "zipfile" module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected. When iterating over names of entries in a zip archive (for example, methods of "zipfile.Path" like "namelist()", "iterdir()", etc) the process can be put into an infinite loop with a maliciously crafted zip archive. This defect applies when reading only metadata or extracting the contents of the zip archive. Programs that are not handling user-controlled zip archives are not affected.

Fixed versions

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

PackageEcosystemFixed in
python3.11-idleAmazon Linux3.11.6-1.amzn2023.0.5
python-3.10Wolfi3.10.14-r6
python3Amazon Linux3.9.20-1.amzn2023.0.2
python3Alpine3.12.5-r1, 3.12.3-r2, 3.11.9-r1, 3.11.8-r1, 3.10.14-r2
python3-idleAmazon Linux3.9.20-1.amzn2023.0.2
python-3.12Chainguard3.12.5-r1
pythonBitnami3.12.6, 3.11.10, 3.10.15, 3.9.20, 3.8.20
python3.11-develAmazon Linux3.11.6-1.amzn2023.0.5
python3-libsAmazon Linux3.9.20-1.amzn2023.0.2
python3-debugAmazon Linux3.9.20-1.amzn2023.0.2
python-3.8Chainguard3.8.19-r3
python3.11-debugAmazon Linux3.11.6-1.amzn2023.0.5

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

Risk scores

CVSS 4.0
8.7
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L

Affected products

VendorProductVersions
Python Software FoundationCPython0, 3.9.0, 3.10.0
amazon:2023python3.11-idle0
wolfipython-3.100
amazon:2023python30
alpinepython30, 0, 0
amazon:2023python3-idle0
chainguardpython-3.120
Python Software FoundationCPython
amazon:2023python3.11-devel0
amazon:2023python3-libs0
amazon:2023python3-debug0
chainguardpython-3.80
amazon:2023python3.11-debug0
python_software_foundationcpython0
chainguardpython-3.90
chainguardpython-3.100
amazon:2023python3-tkinter0
Python Software FoundationCPython3.13.0a1, 0, 3.9.0
amazon:2023python3.11-tkinter0
amazon:2023python3.11-libs0

…and 8 more

Timeline

  • Aug 22, 2024 CVE Published
  • Aug 23, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (20 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (17 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-8088
vulnetix vdb fixes CVE-2024-8088

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-8088/fixes/registry"

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

References

…and 2 more

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