cve.bz

CVE-2024-0450 python software foundation cpython

6.2 mediumEPSS 0.4%

Medium (6.2) in python software foundation cpython. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.2 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 29th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-03-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-405 Asymmetric Resource Consumption (Amplification)
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-0450 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-0450?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-0450?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-0450 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Python Software Foundation CPythonbefore 3.8.19
Python Software Foundation CPythonfrom 3.9.0 before 3.9.19
Python Software Foundation CPythonfrom 3.10.0 before 3.10.14
Python Software Foundation CPythonfrom 3.11.0 before 3.11.8
Python Software Foundation CPythonfrom 3.12.0 before 3.12.2
Python Software Foundation CPythonfrom 3.13.0a1 before 3.13.0a3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10python2.72.7.16-2+deb10u4DLA-3771-1
Debian10python3.73.7.3-2+deb10u7DLA-3772-1
Debian11pypy37.3.5+dfsg-2+deb11u3DLA-3948-1
Debian11python3.93.9.2-1+deb11u2DLA-3980-1
Debian12pypy37.3.11+dfsg-2+deb12u2DEBIAN-CVE-2024-0450
Debian12python3.113.11.2-6+deb12u2DEBIAN-CVE-2024-0450
Debian13, 14pypy37.3.16+dfsg-1DEBIAN-CVE-2024-0450
Ubuntu20.04:LTSpython3.83.8.10-0ubuntu1~20.04.10UBUNTU-CVE-2024-0450 USN-6891-1
Ubuntu22.04:LTSpython3.103.10.12-1~22.04.4UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:14.04:LTSpython2.7, python3.4no fix listedUBUNTU-CVE-2024-0450
UbuntuPro:14.04:LTSpython3.53.5.2-2ubuntu0~16.04.4~14.04.1+esm1UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:16.04:LTSpython3.53.5.2-2ubuntu0~16.04.13+esm13UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:16.04:LTS, Pro:18.04:LTSpython2.7no fix listedUBUNTU-CVE-2024-0450
UbuntuPro:18.04:LTSpython3.63.6.9-1~18.04ubuntu1.13+esm2UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:18.04:LTSpython3.73.7.5-2ubuntu1~18.04.2+esm3UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:18.04:LTSpython3.83.8.0-3ubuntu1~18.04.2+esm2UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:20.04:LTSpython2.72.7.18-1~20.04.7+esm4UBUNTU-CVE-2024-0450 USN-7212-1
UbuntuPro:20.04:LTSpython3.93.9.5-3ubuntu0~20.04.1+esm2UBUNTU-CVE-2024-0450 USN-6891-1
UbuntuPro:22.04:LTSpython2.72.7.18-13ubuntu1.5+esm3UBUNTU-CVE-2024-0450 USN-7212-1
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::appstreamPyYAML, python39-pyyaml, PyYAML-debugsource and 1 more0:5.4.1-1.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreammod_wsgi, python39-mod_wsgi0:4.7.1-7.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreamnumpy, python39-numpy, numpy-debugsource and 3 more0:1.19.4-3.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-PyMySQL, python39-PyMySQL0:0.10.1-2.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-cffi, python39-cffi, python-cffi-debugsource and 1 more0:1.14.3-2.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-chardet, python39-chardet0:3.0.4-19.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-cryptography, python39-cryptography, python-cryptography-debugsource and 1 more0:3.3.1-3.module+el8.10.0+21271+eccd1d86RHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-idna, python39-idna0:2.10-4.module+el8.10.0+21815+bb024982RHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-lxml, python39-lxml, python-lxml-debugsource and 1 more0:4.6.5-1.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-ply, python39-ply0:3.11-10.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-psutil, python39-psutil, python-psutil-debugsource and 1 more0:5.8.0-4.module+el8.9.0+19644+d68f775dRHSA-2024:3466
Red Hatenterprise_linux:8::appstreampython-psycopg2, python39-psycopg2, python39-psycopg2-doc and 3 more0:2.8.6-3.module+el8.10.0+21142+453d2b75RHSA-2024:3466
40 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 15 morepython3-core3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 13 morepython33.6.15-150300.10.65.2SUSE-SU-2024:2479-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morepython393.9.19-150300.4.41.1SUSE-SU-2024:1009-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Server 15 SP3-LTSS and 1 morepython39-core3.9.19-150300.4.41.2SUSE-SU-2024:1009-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Micro 5.1, Linux Enterprise Server 15 SP2-LTSS and 1 morepython3, python3-core3.6.15-150000.3.147.1SUSE-SU-2024:1774-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Module for Python 3 15 SP5 and 2 morepython311, python311-core, python311-documentation3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morepython310, python310-core3.10.14-150400.4.45.1SUSE-SU-2024:1162-1
SUSELinux Enterprise Module for Package Hub 15 SP5, Linux Enterprise Module for Package Hub 15 SP6python, python-base2.7.18-150000.65.1SUSE-SU-2024:1862-1
SUSELinux Enterprise Module for Public Cloud 15 SP4python311, python311-core3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 morepython3, python3-base3.4.10-25.130.1SUSE-SU-2024:1843-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5python, python-doc, python-base2.7.18-33.35.1SUSE-SU-2024:1844-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5python36, python36-core3.6.15-55.1SUSE-SU-2024:1847-1
5 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5python310, python310-core, python310-documentation3.10.14-150400.4.45.1SUSE-SU-2024:1162-1
openSUSELeap 15.5python311, python311-core, python311-documentation3.11.9-150400.9.26.1SUSE-SU-2024:1556-1
openSUSELeap 15.5python39, python39-documentation3.9.19-150300.4.41.1SUSE-SU-2024:1009-1
openSUSELeap 15.5python39-core3.9.19-150300.4.41.2SUSE-SU-2024:1009-1
openSUSELeap 15.5, Leap 15.6python, python-doc, python-base2.7.18-150000.65.1SUSE-SU-2024:1862-1
openSUSELeap 15.5, Leap 15.6python3-core, python3-documentation3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
openSUSELeap 15.5, Leap 15.6, Leap Micro 5.3 and 1 morepython33.6.15-150300.10.65.2SUSE-SU-2024:2479-1
openSUSELeap Micro 5.3, Leap Micro 5.4python3-core3.6.15-150300.10.65.1SUSE-SU-2024:2479-1
openSUSETumbleweedpython2.7.18-47.1openSUSE-SU-2024:13983-1
openSUSETumbleweedpython3103.10.14-1.1openSUSE-SU-2024:13799-1
openSUSETumbleweedpython3113.11.8-5.1openSUSE-SU-2024:13794-1
openSUSETumbleweedpython383.8.19-1.1openSUSE-SU-2024:13790-1
1 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8python3-idle, python3-libs, python3-test and 4 more3.6.8-62.el8_10.alma.1ALSA-2024:3347
AlmaLinux8python3.11, python3.11-idle, python3.11-libs and 5 more3.11.9-1.el8_10ALSA-2024:4058
AlmaLinux8python3.12, python3.12-idle, python3.12-libs and 5 more3.12.3-2.el8_10ALSA-2024:4243
AlmaLinux8python39, python39-idle, python39-libs and 5 more3.9.19-1.module_el8.10.0+3849+a48d89aaALSA-2024:3466
AlmaLinux8python39-Cython0.29.21-5.module_el8.6.0+2780+a40f65e1ALSA-2024:3466
AlmaLinux8python39-Cython0.29.21-5.module_el8.6.0+3248+c431e88cALSA-2024:3466
AlmaLinux8python39-PyMySQL0.10.1-2.module_el8.6.0+2780+a40f65e1ALSA-2024:3466
AlmaLinux8python39-attrs20.3.0-2.module_el8.6.0+2780+a40f65e1ALSA-2024:3466
AlmaLinux8python39-cffi1.14.3-2.module_el8.6.0+2780+a40f65e1ALSA-2024:3466
AlmaLinux8python39-cffi1.14.3-2.module_el8.6.0+3248+c431e88cALSA-2024:3466
AlmaLinux8python39-chardet3.0.4-19.module_el8.6.0+2780+a40f65e1ALSA-2024:3466
AlmaLinux8python39-cryptography3.3.1-3.module_el8.10.0+3765+2f9a457dALSA-2024:3466
35 more for AlmaLinux in the JSON.
Rocky Linux8python30:3.6.8-62.el8_10.rocky.0RLSA-2024:3347
Rocky Linux8python3.120:3.12.3-2.el8_10RLSA-2024:4243
Rocky Linux9python3.110:3.11.9-7.el9_5.2RLSA-2024:9192
Rocky Linux9python3.120:3.12.5-2.el9_5.2RLSA-2024:9190
Rocky Linux9python3.90:3.9.18-3.el9_4.1RLSA-2024:4078
Alpinev3.16, v3.17python33.10.14-r0ALPINE-CVE-2024-0450
Azure Linux2python33.9.19-1AZL-36894
Azure Linux3python33.12.3-1AZL-42573

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Versions of python36:3.6/python36 as shipped with Red Hat Enterprise Linux 8 are marked as 'Not affected' as they just provide "symlinks" to the main python3 component, which provides the actual interpreter of the Python programming language.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-monitor-rhel9:1.6.0-4Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-must-gather-rhel9:1.6.0-12Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-operator-bundle:1.6.0-62Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.6.0-13Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-podvm-payload-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-rhel9-operator:1.6.0-13Fixed 2024-06-19RHBA-2024:3964
Red Hat Enterprise Linux 8python3-0:3.6.8-62.el8_10Fixed 2024-05-23RHSA-2024:3347
Red Hat Enterprise Linux 8python39:3.9-8100020240516111311.d47b87a4Fixed 2024-05-29RHSA-2024:3466
Red Hat Enterprise Linux 8python39-devel:3.9-8100020240516111311.d47b87a4Fixed 2024-05-29RHSA-2024:3466
Red Hat Enterprise Linux 8python3.11-0:3.11.9-1.el8_10Fixed 2024-06-24RHSA-2024:4058
Red Hat Enterprise Linux 10python3.12Not affected
Red Hat Enterprise Linux 6pythonNot affected
Red Hat Enterprise Linux 7pythonOut of support scope
Red Hat Enterprise Linux 7python3Out of support scope
Red Hat Enterprise Linux 8gimp:flatpak/python2Not affected
Red Hat Enterprise Linux 8inkscape:flatpak/python2Not affected
Red Hat Enterprise Linux 8python27:2.7/python2Not affected
Red Hat Enterprise Linux 8python36:3.6/python36Not affected
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-0450.

References

Check your stackJSON