TGTGInsighttelegram intelligenceLIVE / telegram public index
← GitHub Trends

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @githubtrending · Post #15086 · Aug 23

#php#framework#pest#php#testing Pest is a modern, simple, and elegant PHP testing framework designed to make writing and running tests easy and enjoyable. It offers a clean, readable syntax inspired by popular tools like RSpec and Jest, helping you write clear and maintainable tests quickly. Pest includes powerful features such as built-in browser testing, fast parallel test runs, detailed error messages, and code coverage reports, all in one tool. This means you can confidently ensure your PHP applications work correctly while saving time and improving code quality, whether you’re working on small projects or large applications. https://github.com/pestphp/pest

Results

1 similar post found

Search: #zipfile

当前筛选 #zipfile清除筛选
AIGC

@aigcrubbish · Post #6 · 08/23/2024, 06:57 AM

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