Raise minimum zip version to 9.0.5 for CVE-2026-115905 (GHSA-m665-v7pm-7grj)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 68/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- rust
- 领域
- build-system, security
调研方向
打开 Cargo.toml,找到 [dependencies] 和 [build-dependencies] 下的 zip 条目;检查两者的版本要求和现有功能设置。将每个最低版本提升到 9.0.5,然后检查 Cargo.lock。验证默认配置、include-zip 和 no-unsafe 配置,以及规则打包。完成标准是两个声明都排除受影响的版本,并且这些配置均使用安全的已解析 ZIP 版本构建成功。
由索引模型根据 Issue 内容生成。
描述
Summary
Please raise the minimum zip version to 9.0.5 in both the runtime and build dependency declarations to exclude versions affected by CVE-2026-115905 / GHSA-m665-v7pm-7grj.
Advisory: https://github.com/advisories/GHSA-m665-v7pm-7grj
- Affected versions:
<= 9.0.4 - First patched version:
9.0.5
Current upstream state
Checked main at commit c6bba2f3a25a2a5f0a861af17f4772c0bef844ee:
Cargo.lockalready selects zip 9.1.3, outside this advisory's affected range. A lockfile-only update is therefore not needed on current main.- Both
[dependencies]and[build-dependencies]still declarezipwithversion = "9.0", which permits affected 9.0.x versions.
Sources:
- https://github.com/daisy/MathCAT/blob/c6bba2f3a25a2a5f0a861af17f4772c0bef844ee/Cargo.toml
- https://github.com/daisy/MathCAT/blob/c6bba2f3a25a2a5f0a861af17f4772c0bef844ee/Cargo.lock
Why the lockfile alone is not sufficient
Downstream applications consuming MathCAT as a dependency resolve against their own lockfiles; MathCAT's repository lockfile does not force their resolved ZIP version. An existing downstream lockfile can retain an affected version while still satisfying the current "9.0" requirement.
PR #861 upgraded ZIP to address earlier extraction advisories, but its lockfile selected 9.0.4, which is within this advisory's affected range. The newer main lockfile resolves that for current locked builds, while the declared minimum remains permissive.
Suggested change
For both ZIP declarations, raise the requirement to version = "9.0.5" (or a newer compatible minimum), preserving the existing default-features = false and features = ["deflate", "bzip2"] settings.
- Raise the minimum in both runtime and build dependencies.
- Keep all resolved ZIP versions outside the advisory's affected range and verify the full dependency graph.
- Validate default,
include-zip, andno-unsafeconfigurations and rules packaging. - Include the tightened requirement in an appropriate crates.io release; already published crate versions cannot be overwritten.
Scope
The advisory concerns parser differences between ZIP local-file and central-directory headers. This report requests dependency hardening against the published advisory; it does not assert a confirmed exploitable RCE path in MathCAT itself.
- 主要语言
- Rust
- 星标
- 130
- 派生
- 96
- 平均合并
- 22 小时 13 分钟
- 30 天内合并 PR
- 87
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
daisy/MathCAT 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
discussion
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
discussion translation
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
feature request for vector from O to A可能重新可做 @moritz-gross 于 53 天前认领,目前没有进行中的 PR。 未关闭enhancement good first issue rules rust
难度 2/5 1-3 小时 新手友好度 66/100
daisy/MathCAT#621 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
相似的 Issue
-
agent-self
难度 2/5 1-3 小时 新手友好度 84/100
yologdev/yoyo-evolve#1176 ·
-
难度 2/5 1-3 小时 新手友好度 67/100
Richard-Zhang1019/Crossbow#431 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 86/100
saschanaz/jxl-winthumb#69 ·
-
ready
难度 1/5 1 小时以内 新手友好度 88/100
TusanHomichi/PSIV#504 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复