VDB

CVE-2024-0450

CVE-2024-0450 PUBLISHED CVSS 6.2 MEDIUM

Quoted zip-bomb protection for zipfile

Reported by psf · Published March 19, 2024

An issue was found in the CPython `zipfile` module affecting versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18 and prior. The zipfile module is vulnerable to “quoted-overlap” zip-bombs which exploit the zip format to create a zip-bomb with a high compression ratio. The fixed versions of CPython makes the zipfile module reject zip archives which overlap entries in the archive.

Fixed versions

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

PackageEcosystemFixed in
python3-toolsAmazon Linux3.7.16-1.amzn2.0.5
aws-cli-v2Chainguard2.15.35-r0
python3-testAmazon Linux3.9.16-1.amzn2023.0.7
tkinterAmazon Linux2.7.18-1.amzn2.0.11
debian/python-3.15debian3.13.0-alpha3, 3.12.2, 3.11.8, 3.10.14, 3.9.19, 3.8.19
alpine/python-3.11alpine3.13.0-alpha3, 3.12.2, 3.11.8, 3.10.14, 3.9.19, 3.8.19
alpine/python-3.15alpine3.13.0-alpha3, 3.12.2, 3.11.8, 3.10.14, 3.9.19, 3.8.19
alpine/python-3.10alpine3.13.0-alpha3, 3.12.2, 3.11.8, 3.10.14, 3.9.19, 3.8.19
cpythonpython3.8.18

Risk scores

CVSS 3.1
6.2
CVSS:3.1/AV:L/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
Python Software FoundationCPython3.13.0a1, 0, 3.9.0
pythoncpython3.9.18, 3.10.13, 3.11.7

Timeline

  • Mar 19, 2024 CVE Published
  • Mar 19, 2024 PoC Published (3 in total, the first dated here)
  • Mar 20, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (8 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (50 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (43 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-0450
vulnetix vdb fixes CVE-2024-0450

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-0450/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 ›