{"id":"CVE-2024-0450","state":"PUBLISHED","title":"Quoted zip-bomb protection for zipfile","description":"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.\n\nThe 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.\n\n","publishedAt":"2024-03-19T15:12:07.789Z","updatedAt":"2025-11-03T21:50:58.107Z","severity":{"score":6.2,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"PSF"},"assigner":"PSF","products":["Python Software Foundation CPython"],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.19","versionType":"python"},{"version":"3.9.0","status":"affected","lessThan":"3.9.19","versionType":"python"},{"version":"3.10.0","status":"affected","lessThan":"3.10.14","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.8","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.2","versionType":"python"},{"version":"3.13.0a1","status":"affected","lessThan":"3.13.0a3","versionType":"python"}],"repo":"https://github.com/python/cpython"}],"references":["https://github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba","https://github.com/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b","https://github.com/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549","https://github.com/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85","https://github.com/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51","https://github.com/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183","https://github.com/python/cpython/issues/109858","https://www.bamsoftware.com/hacks/zipbomb/","https://mail.python.org/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/","https://lists.debian.org/debian-lts-announce/2024/03/msg00024.html","https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html","http://www.openwall.com/lists/oss-security/2024/03/20/5","https://github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/","https://security.netapp.com/advisory/ntap-20250411-0005/","https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html"],"weaknesses":["CWE-405"],"ingestedAt":"2026-10-29T20:06:42.242Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/0xxx/CVE-2024-0450.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-0450","state":"PUBLISHED","datePublished":"2024-03-19T15:12:07.789Z","dateUpdated":"2025-11-03T21:50:58.107Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2024-01-11T22:16:41.964Z"},"containers":{"cna":{"title":"Quoted zip-bomb protection for zipfile","descriptions":[{"lang":"en","value":"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.\n\nThe 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.\n\n"}],"affected":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.8.19","versionType":"python"},{"version":"3.9.0","status":"affected","lessThan":"3.9.19","versionType":"python"},{"version":"3.10.0","status":"affected","lessThan":"3.10.14","versionType":"python"},{"version":"3.11.0","status":"affected","lessThan":"3.11.8","versionType":"python"},{"version":"3.12.0","status":"affected","lessThan":"3.12.2","versionType":"python"},{"version":"3.13.0a1","status":"affected","lessThan":"3.13.0a3","versionType":"python"}],"repo":"https://github.com/python/cpython"}],"references":[{"url":"https://github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51","tags":["patch"]},{"url":"https://github.com/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183","tags":["patch"]},{"url":"https://github.com/python/cpython/issues/109858","tags":["issue-tracking"]},{"url":"https://www.bamsoftware.com/hacks/zipbomb/"},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00024.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html"},{"url":"http://www.openwall.com/lists/oss-security/2024/03/20/5"},{"url":"https://github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675","tags":["patch"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.2,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-405","description":"CWE-405","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2024-06-13T19:24:15.993Z"},"impacts":[{"capecId":"CAPEC-130","descriptions":[{"lang":"en","value":"CAPEC-130 Excessive Allocation"}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/python/cpython/commit/66363b9a7b9fe7c99eba3a185b74c5fdbf842eba","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/commit/fa181fcf2156f703347b03a3b1966ce47be8ab3b","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/commit/a956e510f6336d5ae111ba429a61c3ade30a7549","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/commit/30fe5d853b56138dbec62432d370a1f99409fc85","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/commit/a2c59992e9e8d35baba9695eb186ad6c6ff85c51","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/commit/d05bac0b74153beb541b88b4fca33bf053990183","tags":["patch","x_transferred"]},{"url":"https://github.com/python/cpython/issues/109858","tags":["issue-tracking","x_transferred"]},{"url":"https://www.bamsoftware.com/hacks/zipbomb/","tags":["x_transferred"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/XELNUX2L3IOHBTFU7RQHCY6OUVEWZ2FG/","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00024.html","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/03/msg00025.html","tags":["x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/20/5","tags":["x_transferred"]},{"url":"https://github.com/python/cpython/commit/70497218351ba44bffc8b571201ecb5652d84675","tags":["patch","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T3IGRX54M7RNCQOXVQO5KQKTGWCOABIM/","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U5VHWS52HGD743C47UMCSAK2A773M2YE/","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20250411-0005/"},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00005.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:50:58.107Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"python","product":"cpython","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.8.18","versionType":"custom"},{"version":"3.9.18","status":"affected"},{"version":"3.10.13","status":"affected"},{"version":"3.11.7","status":"affected"},{"version":"3.12.1","status":"affected"}],"cpes":["cpe:2.3:a:python:cpython:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-03-20T14:30:38.300055Z","id":"CVE-2024-0450","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-02T15:00:26.971Z"}}]}}}