ADVISORIES

CVE Program

CNA-CVE-2024-0450

Quoted zip-bomb protection for zipfile

Details

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.

Affected packages

EcosystemPackageAffected versions
Pythonpython
All versions before 3.8.19 (fixed in 3.8.19)
From 3.9.0 before 3.9.19 (fixed in 3.9.19)
From 3.10.0 before 3.10.14 (fixed in 3.10.14)
From 3.11.0 before 3.11.8 (fixed in 3.11.8)
From 3.12.0 before 3.12.2 (fixed in 3.12.2)
From 3.13.0a1 before 3.13.0a3 (fixed in 3.13.0a3)

References