CVE-2024-8088: fallo de gravedad alta en Python Software Foundation CPython
Infinite loop when iterating over zip archive entry names from zipfile.Path
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
21Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 8.7epss 1.3%
There is a HIGH severity vulnerability affecting the CPython "zipfile"
module affecting "zipfile.Path". Note that the more common API "zipfile.ZipFile" class is unaffected.
When iterating over names of entries in a zip archive (for example, methods
of "zipfile.Path" like "namelist()", "iterdir()", etc)
the process can be put into an infinite loop with a maliciously crafted
zip archive. This defect applies when reading only metadata or extracting
the contents of the zip archive. Programs that are not handling
user-controlled zip archives are not affected.
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
Productos afectados
Python Software Foundation · CPythonCVEs relacionadas — Python Software Foundation CPython
En el mismo producto, de las más peligrosas a las menos.
CVE-2024-7592HIGHQuadratic complexity parsing cookies with backslashesEPSS 2.3%CVE-2024-6232HIGHRegular-expression DoS when parsing TarFile headersEPSS 2.2%CVE-2024-12254HIGHUnbounded memory buffering in SelectorSocketTransport.writelines()EPSS 1.9%CVE-2025-13836MEDIUMExcessive read buffering DoS in http.clientEPSS 1.7%CVE-2025-0938MEDIUMURL parser allowed square brackets in domain namesEPSS 1.6%CVE-2025-4138HIGHBypassing extraction filter to create symlinks to arbitrary targets outside extraction directoryEPSS 1.5%
Referencias
https://github.com/python/cpython/commit/0aa1ee22ab6e204e9d3d0e9dd63ea648ed691ef1https://github.com/python/cpython/commit/2231286d78d328c2f575e0b05b16fe447d1656d6https://github.com/python/cpython/commit/795f2597a4be988e2bb19b69ff9958e981cb894ehttps://github.com/python/cpython/commit/7bc367e464ce50b956dd232c1dfa1cad4e7fb814https://github.com/python/cpython/commit/7e8883a3f04d308302361aeffc73e0e9837f19d4https://github.com/python/cpython/commit/8c7348939d8a3ecd79d630075f6be1b0c5b41f64https://github.com/python/cpython/commit/95b073bddefa6243effa08e131e297c0383e7f6ahttps://github.com/python/cpython/commit/962055268ed4f2ca1d717bfc8b6385de50a23ab7https://github.com/python/cpython/commit/9cd03263100ddb1657826cc4a71470786cab3932https://github.com/python/cpython/commit/dcc5182f27c1500006a1ef78e10613bb45788deahttps://github.com/python/cpython/commit/e0264a61119d551658d9445af38323ba94fc16dbhttps://github.com/python/cpython/commit/fc0b8259e693caa8400fa8b6ac1e494e47ea7798