CVE-2024-0450: Quoted zip-bomb protection for zipfile

Published Mar 19, 2024
·
Updated

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.

Other sources

Python CPython is vulnerable to a denial of service, caused by improper input validation by the zipfile module. By persuading a victim to open a specially crafted ZIP file, a remote attacker could exploit this vulnerability to cause a denial of service condition.

IBM

Affected Software

9 affected componentsFixes available
debian/pypy3<=7.3.5+dfsg-2+deb11u2
7.3.5+dfsg-2+deb11u47.3.11+dfsg-2+deb12u37.3.19+dfsg-2
debian/python2.7<=2.7.18-8+deb11u1
debian/python3.11
3.11.2-6+deb12u53.11.2-6+deb12u3
debian/python3.12
3.12.10-1
debian/python3.9<=3.9.2-1
3.9.2-1+deb11u3
Microsoft azl3 python3 3.12.0-4
Microsoft cbl2 python3 3.9.19-1
Microsoft cbl2 python3 3.9.14-8
Microsoft azl3 python3 3.12.3-1

Event History

Mar 19, 2024
CVE Published
via MITRE·03:12 PM
Data Sourced
via MITRE·03:12 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Apr 22, 2024
Data Sourced
via Red Hat·08:57 PM
DescriptionSeverityAffected Software
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Jul 11, 2024
Data Sourced
via Launchpad·12:44 PM
Description
Jan 19, 2025
Data Sourced
via Ubuntu·01:18 PM
RemedyDescriptionSeverityAffected Software
Feb 4, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-0450?

CVE-2024-0450 is considered a moderate severity vulnerability due to its potential to create zip-bombs.

2

How do I fix CVE-2024-0450?

To fix CVE-2024-0450, upgrade to a patched version of the CPython zipfile module or update your Python installation to a secure version.

3

Which versions of Python are affected by CVE-2024-0450?

CVE-2024-0450 affects CPython versions 3.12.1, 3.11.7, 3.10.13, 3.9.18, and 3.8.18, along with earlier versions.

4

What are the potential impacts of CVE-2024-0450?

The vulnerability can allow attackers to create zip-bombs that may exhaust system resources when processed.

5

Is there a specific mitigation strategy for CVE-2024-0450?

The primary mitigation for CVE-2024-0450 is ensuring that you are running a version of Python that has addressed the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203