CVE-2024-0450 json
Quoted zip-bomb protection for zipfile
published 2024-03-19 2 y ago modified 2026-06-17 4 mo ago also BIT-libpython-2024-0450 , BIT-python-2024-0450 , BIT-python-min-2024-0450 , EUVD-2024-16245
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami libpython 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2
- bitnami python 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2
- bitnami python-min 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2
- Python Software Foundation CPython 3.8.19, 3.9.19, 3.10.14, 3.11.8, 3.12.2, 3.13.0a3
- python cpython 3.8.18
- pypy3 Debian 12 7.3.11+dfsg-2+deb12u2
- pypy3 Debian 14, Debian 13 7.3.16+dfsg-1
- python3.11 Debian 12 3.11.2-6+deb12u2
debian advisories DEBIAN-CVE-2024-0450
- python3.8 Ubuntu 20.04 LTS 3.8.10-0ubuntu1~20.04.10
- python3.10 Ubuntu 22.04 LTS 3.10.12-1~22.04.4
- python2.7 Ubuntu Pro 20.04 LTS 2.7.18-1~20.04.7+esm4
- python2.7 Ubuntu Pro 22.04 LTS 2.7.18-13ubuntu1.5+esm3
- python3.5 Ubuntu Pro 14.04 LTS 3.5.2-2ubuntu0~16.04.4~14.04.1+esm1
- python3.5 Ubuntu Pro 16.04 LTS 3.5.2-2ubuntu0~16.04.13+esm13
- python3.6 Ubuntu Pro 18.04 LTS 3.6.9-1~18.04ubuntu1.13+esm2
- python3.7 Ubuntu Pro 18.04 LTS 3.7.5-2ubuntu1~18.04.2+esm3
ubuntu advisories UBUNTU-CVE-2024-0450
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python3.11 RHEL 9 3.11.9-7.el9
- python3.11-idle RHEL 9 3.11.9-7.el9
- python3.11-libs RHEL 9 3.11.9-7.el9
- python3.11-test RHEL 9 3.11.9-7.el9
- python3.11-tkinter RHEL 9 3.11.9-7.el9
- python3.12 RHEL 9 3.12.5-2.el9
- python3.12-idle RHEL 9 3.12.5-2.el9
- python3.12-libs RHEL 9 3.12.5-2.el9
red hat advisories RHSA-2024:9192RHSA-2024:9190RHSA-2024:3466RHSA-2024:4078RHSA-2024:4058RHSA-2024:3391
- python311 Linux Micro 6.1 3.11.12-slfo.1.1_1.1
- python311-core Linux Micro 6.1 3.11.12-slfo.1.1_1.1
- python311 Linux Micro 6.0 3.11.11-1.1
- python311-core Linux Micro 6.0 3.11.11-1.1
- python311 Linux Micro 6.0 3.11.8-3.1
- python311-core Linux Micro 6.0 3.11.8-3.1
- python3 SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES 15 SP4-LTSS +17 more 3.6.15-150300.10.65.2
- python3-core SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES 15 SP4-LTSS +19 more 3.6.15-150300.10.65.1
suse advisories SUSE-SU-2025:20374-1SUSE-SU-2025:20154-1SUSE-SU-2025:20025-1SUSE-SU-2024:2479-1SUSE-SU-2024:1862-1SUSE-SU-2024:1847-1
- python38 openSUSE Tumbleweed 3.8.19-1.1
- python311 openSUSE Tumbleweed 3.11.8-5.1
- python310 openSUSE Tumbleweed 3.10.14-1.1
- python39 openSUSE Tumbleweed 3.9.19-1.1
- python openSUSE Tumbleweed 2.7.18-47.1
opensuse advisories openSUSE-SU-2024:13790-1openSUSE-SU-2024:13794-1openSUSE-SU-2024:13799-1openSUSE-SU-2024:13800-1openSUSE-SU-2024:13983-1
- python3.12 AlmaLinux 9 3.12.5-2.el9
- python3.12-idle AlmaLinux 9 3.12.5-2.el9
- python3.12-libs AlmaLinux 9 3.12.5-2.el9
- python3.12-test AlmaLinux 9 3.12.5-2.el9
- python3.12-tkinter AlmaLinux 9 3.12.5-2.el9
- python3.11 AlmaLinux 9 3.11.9-7.el9
- python3.11-idle AlmaLinux 9 3.11.9-7.el9
- python3.11-libs AlmaLinux 9 3.11.9-7.el9
almalinux advisories ALSA-2024:9190ALSA-2024:9192ALSA-2024:4243ALSA-2024:4078ALSA-2024:4058ALSA-2024:3466
- python3.12 Rocky Linux 8 3.12.3-2.el8_10
- python3.12 Rocky Linux 9 3.12.5-2.el9_5.2
- python3.11 Rocky Linux 9 3.11.9-7.el9_5.2
- python3.9 Rocky Linux 9 3.9.18-3.el9_4.1
- numpy Rocky Linux 8 1.19.4-3.module+el8.10.0+1582+bc278001
- scipy Rocky Linux 8 1.5.4-5.module+el8.10.0+1582+bc278001
- Cython Rocky Linux 8 0.29.21-5.module+el8.10.0+1582+bc278001
- pytest Rocky Linux 8 6.0.2-2.module+el8.10.0+1582+bc278001
rocky linux advisories RLSA-2024:4243RLSA-2024:9190RLSA-2024:9192RLSA-2024:4078RLSA-2024:3466RLSA-2024:3347
- python3 Alpine 3.17, Alpine 3.16 3.10.14-r0
alpine advisories ALPINE-CVE-2024-0450
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- python3 CBL-Mariner 2.0 3.9.19-1
- python3 Azure Linux 3.0 3.12.3-1
azure linux advisories AZL-36894AZL-42573
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-0450 updated cvss 6.2
python: The zipfile module is vulnerable to zip-bombs leading to denial of service
-
Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 moreaffected: workaround, no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 9) python3.11 3.11.9-7.el9, python3.12 3.12.5-2.el9, python3.11-idle 3.11.9-7.el9, python3.11-test 3.11.9-7.el9, python3.12-idle 3.12.5-2.el9, python3.12-test 3.12.5-2.el9, +2 morefixed: vendor fix RHSA-2024:9192
-
Red Hat Enterprise Linux AppStream (v. 8) python3.11 3.11.9-1.el8_10, python3.12 3.12.3-2.el8_10, python3-idle 3.6.8-62.el8_10, python3-test 3.6.8-62.el8_10, platform-python 3.6.8-62.el8_10, python3-tkinter 3.6.8-62.el8_10, +61 morefixed: vendor fix RHSA-2024:3466
-
Red Hat Enterprise Linux AppStream (v. 9) python3.11 3.11.9-7.el9, python3.12 3.12.5-2.el9, python3.11-libs 3.11.9-7.el9, python3.12-libs 3.12.5-2.el9, python3.11-tkinter 3.11.9-7.el9, python3.12-tkinter 3.12.5-2.el9, +2 morefixed: vendor fix RHSA-2024:4078
-
Red Hat Enterprise Linux AppStream AUS (v.8.6) python3-idle 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6, python3-tkinter 3.6.8-47.el8_6.6 Red Hat Enterprise Linux AppStream E4S (v.8.6) python3-idle 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6, python3-tkinter 3.6.8-47.el8_6.6fixed: vendor fix RHSA-2024:4406
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) python3-idle 3.6.8-51.el8_8.6, python3-test 3.6.8-51.el8_8.6, platform-python 3.6.8-51.el8_8.6, python3-tkinter 3.6.8-51.el8_8.6fixed: vendor fix RHSA-2024:3391
-
Red Hat Enterprise Linux AppStream TUS (v.8.6) python3-idle 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6, python3-tkinter 3.6.8-47.el8_6.6fixed: vendor fix RHSA-2024:4406
-
Red Hat Enterprise Linux BaseOS (v. 8) python3 3.6.8-62.el8_10, python3-libs 3.6.8-62.el8_10, python3-test 3.6.8-62.el8_10, platform-python 3.6.8-62.el8_10fixed: vendor fix RHSA-2024:3347
show 9 moreshow fewer
-
Red Hat Enterprise Linux BaseOS (v. 9) python3 3.9.18-3.el9_4.1, python3.9 3.9.18-3.el9_4.1, python3-libs 3.9.18-3.el9_4.1fixed: vendor fix RHSA-2024:4078
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) python3 3.6.8-47.el8_6.6, python3-libs 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6 Red Hat Enterprise Linux BaseOS E4S (v.8.6) python3 3.6.8-47.el8_6.6, python3-libs 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6fixed: vendor fix RHSA-2024:4406
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) python3 3.6.8-51.el8_8.6, python3-libs 3.6.8-51.el8_8.6, python3-test 3.6.8-51.el8_8.6, platform-python 3.6.8-51.el8_8.6fixed: vendor fix RHSA-2024:3391
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) python3 3.6.8-47.el8_6.6, python3-libs 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6fixed: vendor fix RHSA-2024:4406
-
Red Hat Enterprise Linux CRB (v. 8) python3.11 3.11.9-1.el8_10, python3.12 3.12.3-2.el8_10, python3.11-idle 3.11.9-1.el8_10, python3.11-test 3.11.9-1.el8_10, python3.12-idle 3.12.3-2.el8_10, python3.12-test 3.12.3-2.el8_10, +24 morefixed: vendor fix RHSA-2024:3466
-
Red Hat Enterprise Linux CRB (v. 9) python3 3.9.18-3.el9_4.1, python3-idle 3.9.18-3.el9_4.1, python3-test 3.9.18-3.el9_4.1, python3-tkinter 3.9.18-3.el9_4.1fixed: vendor fix RHSA-2024:4078
-
Red Hat Service Interconnect 1 service-interconnect/skupper-router-rhel9 2.5.3-2fixed: vendor fix RHSA-2024:4871
-
Red Hat Service Interconnect 1.4 service-interconnect/skupper-router-rhel9 2.4.3-5fixed: vendor fix RHSA-2024:4865
-
Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 8 scipy, python2, python36, python-nose, python-wheel, python2-libs, +24 more Red Hat Enterprise Linux 10 python3.12 Red Hat Enterprise Linux AppStream E4S (v.8.6) python3-idle 3.6.8-47.el8_6.6, python3-tkinter 3.6.8-47.el8_6.6 Red Hat Enterprise Linux BaseOS E4S (v.8.6) python3-libs 3.6.8-47.el8_6.6, python3-test 3.6.8-47.el8_6.6, platform-python 3.6.8-47.el8_6.6 Red Hat Service Interconnect 1 service-interconnect/skupper-operator-bundle 1.5.5-1, service-interconnect/skupper-config-sync-rhel9 1.5.5-1, service-interconnect/skupper-flow-collector-rhel9 1.5.5-1, service-interconnect/skupper-site-controller-rhel9 1.5.5-1, service-interconnect/skupper-controller-podman-rhel9 1.5.5-1, service-interconnect/skupper-service-controller-rhel9 1.5.5-1, +1 morenot affected: vulnerable code not present
+1 more productsfewer
Red Hat Service Interconnect 1.4 service-interconnect/skupper-operator-bundle 1.4.7-1, service-interconnect/skupper-config-sync-rhel9 1.4.7-1, service-interconnect/skupper-flow-collector-rhel9 1.4.7-1, service-interconnect/skupper-site-controller-rhel9 1.4.7-1, service-interconnect/skupper-service-controller-rhel9 1.4.7-1
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libpython | <3.8.19 >=3.9.0, <3.9.19 >=3.10.0, <3.10.14 >=3.11.0, <3.11.8 >=3.12.0, <3.12.2 |
3.8.19 3.9.19 3.10.14 3.11.8 3.12.2 |
| bitnami | python | <3.8.19 >=3.9.0, <3.9.19 >=3.10.0, <3.10.14 >=3.11.0, <3.11.8 >=3.12.0, <3.12.2 |
3.8.19 3.9.19 3.10.14 3.11.8 3.12.2 |
| bitnami | python-min | <3.8.19 >=3.9.0, <3.9.19 >=3.10.0, <3.10.14 >=3.11.0, <3.11.8 >=3.12.0, <3.12.2 |
3.8.19 3.9.19 3.10.14 3.11.8 3.12.2 |
Affected products
- Python Software Foundation CPython
- python cpython
Classification
- Weakness
-
- CWE-405 Asymmetric Resource Consumption (Amplification)
References
-
github.com
/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba
patch, web
-
github.com
/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b
patch, web
-
github.com
/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549
patch, web
-
github.com
/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85
patch, web
-
github.com
/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51
patch, web
-
github.com
/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183
patch, web
-
github.com
/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675
patch, web
-
mail.python.org
/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/
vendor-advisory, web
-
github.com
/python/cpython/issues/109858
issue-tracking, web
-
bamsoftware.com
/hacks/zipbomb/
web
-
lists.debian.org
/debian-lts-announce/2024/03/msg00024.html
web
-
lists.debian.org
/debian-lts-announce/2024/03/msg00025.html
web
-
openwall.com
/lists/oss-security/2024/03/20/5
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/
web
-
security.netapp.com
/advisory/ntap-20250411-0005/
web
-
lists.debian.org
/debian-lts-announce/2024/12/msg00000.html
web
-
lists.debian.org
/debian-lts-announce/2024/11/msg00005.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-0450
web
Sources
- CVE List CVE-2024-0450
- NVD CVE-2024-0450
- OSV BIT-libpython-2024-0450
- OSV BIT-python-2024-0450
- OSV BIT-python-min-2024-0450
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.