{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-8088","id":"CVE-2024-8088","title":"Infinite loop when iterating over zip archive entry names from zipfile.Path","description":"There is a HIGH severity vulnerability affecting the CPython \"zipfile\"\nmodule affecting \"zipfile.Path\". Note that the more common API \"zipfile.ZipFile\" class is unaffected.\n\n\n\n\n\nWhen iterating over names of entries in a zip archive (for example, methods\nof \"zipfile.Path\" like \"namelist()\", \"iterdir()\", etc)\nthe process can be put into an infinite loop with a maliciously crafted\nzip archive. This d","descriptionLong":"There is a HIGH severity vulnerability affecting the CPython \"zipfile\"\nmodule affecting \"zipfile.Path\". Note that the more common API \"zipfile.ZipFile\" class is unaffected.\n\n\n\n\n\nWhen iterating over names of entries in a zip archive (for example, methods\nof \"zipfile.Path\" like \"namelist()\", \"iterdir()\", etc)\nthe process can be put into an infinite loop with a maliciously crafted\nzip archive. This defect applies when reading only metadata or extracting\nthe contents of the zip archive. Programs that are not handling\nuser-controlled zip archives are not affected.","published":"2024-08-22T18:45:31.807Z","updated":"2026-11-10T10:45:36.641138265Z","reserved":"2024-08-22T12:42:32.661Z","status":"Deferred","rejected":false,"assigner":"PSF","metric":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L","rating":"high","source":"PSF"},"metrics":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L","rating":"high","source":"PSF"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:N/R:U/V:X/RE:L/U:X","rating":"high","source":"python.org"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/S:N/AU:N/R:U/RE:L","rating":"unrated","source":"OSV"}],"rating":"high","products":["Python Software Foundation CPython"],"affectedProducts":[{"vendor":"Python Software Foundation","product":"CPython","defaultStatus":"unaffected","versions":[{"lessThan":"3.8.20","status":"affected","version":"0","versionType":"python"},{"lessThan":"3.9.20","status":"affected","version":"3.9.0","versionType":"python"},{"lessThan":"3.10.15","status":"affected","version":"3.10.0","versionType":"python"},{"lessThan":"3.11.10","status":"affected","version":"3.11.0","versionType":"python"},{"lessThan":"3.12.6","status":"affected","version":"3.12.0","versionType":"python"},{"lessThan":"3.13.0rc2","status":"affected","version":"3.13.0a1","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-835"],"aliases":["BIT-libpython-2024-8088","BIT-python-2024-8088","BIT-python-min-2024-8088","PSF-2024-10"],"references":[{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/GNFCKVI4TCATKQLALJ5SN4L4CSPSMILU/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/python/cpython/pull/122906","tags":["patch","fix","web"]},{"url":"https://github.com/python/cpython/issues/122905","tags":["issue-tracking","report"]},{"url":"https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894e","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788dea","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16db","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/issues/123270","tags":["issue-tracking","report"]},{"url":"https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6a","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1","tags":["patch","fix"]},{"url":"https://github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932","tags":["patch","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/22/1","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/22/4","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/23/1","tags":["web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/08/23/2","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20241011-0010/","tags":["advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8088.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8088","tags":["advisory"]},{"url":"https://github.com/python/cpython","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01275,"epssPercentile":0.70546,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-8088","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8088","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-8088","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-8088","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["python"],"critical":[],"attention":null}