Investigate native zlib runtime linkage and CVE reachability

Đang mở
#2,497 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, rust
Lĩnh vực
build-system, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
532
Fork
56
Merge trung bình
11 giờ 20 phút
Pull request đã merge (30 ngày)
282

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của torrust/torrust-tracker

Tất cả issue của torrust/torrust-tracker

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.