Skip to content

Translation in progress Some entries still include text in the original language.

Microsoft PyRIT 版本发布· romanlutz·Indexed by this site · Originally published

微软 PyRIT 发布 v0.12.1 安全补丁,修复 Jinja2 模板注入漏洞

v0.12.1

AI summary

微软 PyRIT 发布 v0.12.1 安全补丁,修复 Jinja2 模板注入(SSTI)漏洞,建议 0.12.0 及更早版本用户升级。漏洞源于模板渲染使用未沙箱化的 Jinja2 Environment,远程数据集加载器把抓取的数据直接传入 SeedPrompt(value=...) 并在 __post_init__ 中按模板渲染,被投毒的数据集可借此实现 Python 对象遍历。

Read originalgithub.com