CPython zipfile 模块高危漏洞 CVE-2024-8088 CPython 的 zipfile 模块存在一个高危漏洞,编号为 CVE-2024-8088。该漏洞会导致在处理恶意构造的 zip 档案时,程序陷入无限循环。具体来说,当使用 zipfile.Path 类及其方法(如 namelist()`、`iterdir()`、`extractall() 等)遍历 zip 档案条目名称时,可能会触发无限循环。 此漏洞的根本原因在于 zipfile._path._ancestry() 方法中的路径处理不当。具体来说,代码中的 path.rstrip(posixpath.sep) 和 while 循环条件未正确处理路径,导致无限循环。例如,`posixpath.split("//") 返回 ("//", ""),而 "//" != posixpath.sep` 导致循环无法退出。 该漏洞已被修复,建议更新 CPython 并加强输入验证,以防止潜在的拒绝服务攻击。 原文链接:https://www.openwall.com/lists/oss-security/2024/08/22/1https://www.openwall.com/lists/oss-security/2024/08/22/4 标签:#CPython#漏洞#zipfile#无限循环 #AIGC
TGTGInsighttelegram intelligenceLIVE / telegram public index
OnePlus 9RT OxygenOS 12.1 C.05 IND System • Improves system stability. • Optimizes the experience of fingerprint unlocking. SHA-1 Full: 096408a72c327ef8aabf8443a618ae51ee03274f MD5 Full: 9d8765a1c4059fc953dfb7c721364700 Size Full: 4.38 GB (4697892937) Downloads ColorOS India Server: Full Google OTA Server: Full Exported by MlgmXyysd Color OTA Bot@OnePlusOTA #Oxygen#martini#India#Stable#Full#MT2111
Results
找到 1 条相似帖子
搜索 #zipfile
当前筛选 #zipfile清除筛选