Skip to content

build(deps): 升级依赖修复 59 条 Dependabot 安全警报 - #125

Merged
This-is-XiaoDeng merged 1 commit into
masterfrom
fix/dependabot-upgrades
Sep 22, 2026
Merged

This-is-XiaoDeng merged 1 commit into
masterfrom
fix/dependabot-upgrades

Conversation

@This-is-XiaoDeng

Copy link
Copy Markdown
Member

背景

Dependabot 报告 master 分支存在 59 条开放警报(1 critical / 18 high / 25 moderate / 15 low),全部来自 poetry.lock。本 PR 一次性修复全部警报。

升级内容

版本 警报数 说明
aiohttp 3.12.15 → 3.14.3 32 discord.py 传递依赖;含 HTTP 解析器堆越界读 CVE-2026-69244、zip bomb CVE-2025-69223
anyio 4.10.0 → 4.15.1 2 含唯一 critical:TLSStream IDNA 2003 编码可致 TLS 证书伪造(CVE-2026-63374
pillow 11.3.0 → 12.3.0 18 仅 dev 组(imageio 传递依赖,不进入发布产物)
starlette 0.47.3 → 1.6.0 6 fastapi 0.141.1 起解除 starlette 上限约束
idna 3.10 → 3.20 1 anyio/httpx/yarl 传递依赖
fastapi 0.116.1 → 0.141.1 pyproject.toml 约束 >=0.141.1,<0.142.0,为 starlette 1.x 升级的前提

其余依赖(含 discord.py 2.7.1、sqlalchemy、nuitka 等)未受牵连,锁定版本不变。

验证

  • pytest40 passed(Python 3.12.14)
  • network/ 全部子模块(v11/v12 的 http、ws、ws_reverse、http_post、http_webhook)与 utils/call_action 导入冒烟通过
  • poetry check 锁文件一致性通过

…t 安全警报

- aiohttp 3.12.15 -> 3.14.3(32 条,含 HTTP 解析器越界读 CVE-2026-69244)
- anyio 4.10.0 -> 4.15.1(1 critical TLS 证书伪造 CVE-2026-63374)
- pillow 11.3.0 -> 12.3.0(18 条,仅 dev 组)
- starlette 0.47.3 -> 1.6.0(6 条,需 fastapi >=0.141.1 解除上限)
- idna 3.10 -> 3.20(1 条)
- fastapi 0.116.1 -> 0.141.1(pyproject 约束同步放宽)

pytest 40 passed
@github-actions
github-actions Bot requested a review from montmorill September 22, 2026 07:09
@This-is-XiaoDeng
This-is-XiaoDeng merged commit 5eef75f into master Sep 22, 2026
3 checks passed
@This-is-XiaoDeng
This-is-XiaoDeng deleted the fix/dependabot-upgrades branch September 22, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant