Investigate native zlib runtime linkage and CVE reachability

Aperta
#2,497 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, rust

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
532
Fork
56
Merge medio
11h 20m
PR unite (30g)
282

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di torrust/torrust-tracker

Tutte le issue di torrust/torrust-tracker

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.