#今天又看了啥 #CVE #security #python
CPython: CVE-2024-8088: Infinite loop when iterating over zip archive entry names
There is a HIGH severity vulnerability affecting the CPython "zipfile" module. When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", 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.
CPython 中的 zipfile 模块在迭代 zip 存档的条目名称时(例如使用 zipfile.ZipFile 的 namelist() iterdir() extractall() 等方法),恶意构造的 zip 文件可能导致进程陷入无限循环
https://www.cve.org/CVERecord?id=CVE-2024-8088
https://github.com/python/cpython/issues/122905
https://www.openwall.com/lists/oss-security/2024/08/22/4
https://www.openwall.com/lists/oss-security/2024/08/22/1
CPython: CVE-2024-8088: Infinite loop when iterating over zip archive entry names
There is a HIGH severity vulnerability affecting the CPython "zipfile" module. When iterating over names of entries in a zip archive (for example, methods of "zipfile.ZipFile" like "namelist()", "iterdir()", "extractall()", 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.
CPython 中的 zipfile 模块在迭代 zip 存档的条目名称时(例如使用 zipfile.ZipFile 的 namelist() iterdir() extractall() 等方法),恶意构造的 zip 文件可能导致进程陷入无限循环
https://www.cve.org/CVERecord?id=CVE-2024-8088
https://github.com/python/cpython/issues/122905
https://www.openwall.com/lists/oss-security/2024/08/22/4
https://www.openwall.com/lists/oss-security/2024/08/22/1