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

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
70/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
cli, security

Hướng nghiên cứu

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.

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

Mô tả

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.

Ngôn ngữ chính
Rust
Star
11
Fork
5
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
1

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 stackabletech/stackablectl

Tất cả issue của stackabletech/stackablectl

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.