RUSTSEC-2026-0369: ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

Offen
#470 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
Ein halber Tag
Anfängerfreundlichkeit
70/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
rust
Bereich
cli, security

Rechercherichtung

Read the linked RustSec and GitHub advisories first to understand the unsafe ZipStreamReader::extract() and ZipArchive::extract() behavior. Locate where the zip dependency is declared in stackablectl, then update it to a patched version (>=9.0.0) and verify that archive extraction no longer applies Unix permissions through unconfined symlinks. Add or run a focused extraction security test if the repository has an appropriate test location.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

ZipStreamReader::extract() and ZipArchive::extract() apply Unix permissions through symlinks without confining the target

Details
Package zip
Version 3.0.0
Date 2026-10-10
Patched versions >=9.0.0

ZipStreamReader::extract() applies Unix permissions through extracted symlinks without validating the symlink target stays within the destination

For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4684-h2q9-2vcp

See advisory page for additional details.

Vorherrschende Sprache
Rust
Sterne
11
Forks
5
Ø Merge
1 T. 6 Std.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

  • Kein Dockerfile und keine Docker-Compose-Datei
  • Hat eine Pull-Request-Vorlage
  • Kein Beitragsleitfaden

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus stackabletech/stackablectl

Alle Issues in stackabletech/stackablectl

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.