Investigate native zlib runtime linkage and CVE reachability

未关闭
#2,497 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, rust

调研方向

Start by reproducing the native libz.so.1 linkage on the release tracker binary (for example with ldd or readelf -d) and checking how the production image build copies it in. Then identify which affected zlib symbols the binary imports and whether attacker-controlled input can reach them. Done means the linkage source, symbol reachability and verdict are recorded, and CVE records and Code Scanning alerts 24 and 59 match that verdict.

由索引模型根据 Issue 内容生成。

描述

Needs Research Security task

Goal

Establish why the production tracker binary links native libz.so.1, determine whether the functions affected by CVE-2026-27171 or CVE-2026-85091 are reachable, and either remove unnecessary linkage or record reproducible evidence supporting the final security verdict.

Background

GitHub Code Scanning alerts 24 and 59 report two zlib CVEs in the production image. The previous CVE-2026-27171 analysis treated system zlib as an unused runtime package, but the production build discovers the release binary's linked libz.so.1 and copies it into the final image. No call to either affected API sequence has been established, so this is a p2 reachability investigation rather than a confirmed vulnerability.

Scope

  • Reproduce and explain native zlib linkage.
  • Identify imported and reachable affected symbols.
  • Determine whether attacker-controlled runtime input reaches either CVE path.
  • Remove unnecessary linkage or document the unreachable boundary with maintained evidence.
  • Refresh both CVE records and reconcile Code Scanning alerts 24 and 59.

Acceptance criteria

  • The exact linkage source and affected-symbol reachability are reproducibly established.
  • Unnecessary linkage is removed, or required linkage has a maintained evidence-based verdict.
  • Both CVE records and scanner alerts agree with the final result.

Related to #2493.

主要语言
Rust
星标
532
派生
56
平均合并
11 小时 20 分钟
30 天内合并 PR
282

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

torrust/torrust-tracker 的其他 Issue

查看 torrust/torrust-tracker 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。