Repository navigation
fix(security): 钉版 msgpack 1.2.3 修复 CVE-2026-114613 - #49
Merged
Merged
Conversation
- cachecontrol 的传递依赖 msgpack 曾解析到 1.2.1,命中 high 级无界内存泄漏告警(dependabot #47),首个修复版 1.2.3 - requirements.txt / pyproject.toml 显式钉版(沿用 urllib3 / pypdfium2 的传递依赖显式钉版先例) - requirements.lock / uv.lock 由 Dependabot 依赖自动同步流水线在 PR 上重生成,避免本地与 CI uv 版本差异导致 revision 漂移
0x0021
pushed a commit
that referenced
this pull request
Nov 17, 2026
…oS 告警 Dependabot 告警扫的是 uv.lock,而 CI/Docker 装的是 requirements.lock —— 两份锁 历史漂移:requirements.lock 早已是 soupsieve 4.1.1 / otel 1.45.2(安全),uv.lock 却仍是 2.9.2 / 1.45.1,于是 #48/#49/#50/#51(soupsieve CSS 选择器 ReDoS/DoS)与 #52(otel traceparent 解析二次时间 DoS)共 5 条告警一直挂着。 - requirements.txt / pyproject.toml 显式钉版 soupsieve==4.1.1、opentelemetry-api==1.45.2 (沿用 msgpack/Pillow 传递依赖安全钉版先例),uv.lock 重生成后两个包升到安全版本, 与 requirements.lock 统一,5 条告警可自动关闭。 - 项目只用 html.parser + 基础 select,不依赖 soupsieve 4.0 改变的 <template>/<iframe> 语义,75 项文档解析测试 + bs4 select/fastapi 导入冒烟全过。 - check_deps --strict 四处声明一致;ruff、gitleaks 均无问题。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
依赖告警 #47(high):cachecontrol 的传递依赖 msgpack 锁在 1.2.1,命中 strict_map_key 校验失败时 C 扩展无界内存泄漏。
dependabot-sync-lockfiles.yml在 PR 上用主线脚本重生成并推回,避免本地 uv 与 CI uv 版本差异造成 revision 漂移。check_deps.py --strict校验四源一致,dependabot 告警应自动关闭。