返回全部动态
PydanticAI v2.66.0 修复多个安全漏洞
原标题:v2.66.0 (2026-11-04)
AI 摘要
PydanticAI 发布 v2.66.0,集中修复了 10 个安全漏洞,其中 2 个为高危。高危问题包括 web_fetch_tool 在事件循环上重新缩进 JSON 导致内存膨胀,以及 Harness 私钥脱敏正则指数级回溯。其余中低危问题涉及腾讯云元数据地址未拦截、OpenTelemetry 嵌入 span 泄露凭据、工具 schema 指数展开、适配器消息加载平方级耗时、反序列化文件类型混淆、DNS 预解析泄露等。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<!-- Release notes generated using configuration in .github/release.yml at 7d1d3f0191fd5d500b02e58dee2bf6d7adc1b967 --> ## What's Changed ### 🛡️ Security * [GHSA-m5vj-8mcw-82qx](https://github.com/pydantic/pydantic-ai/security/advisories/GHSA-m5vj-8mcw-82qx) (high): `web_fetch_tool` and the `WebFetch` capability's local fallback re-indented a JSON response on the event loop before applying the returned-content limit, so a deeply nested document within the download size limit could expand to hun
发布时间:2026-11-04 19:51
抓取时间:2026-11-04 20:45
来源机构:Pydantic