RUSTSEC-2026-0368: zip: `ZipArchive::extract` creates symbolic links whose attacker-controlled targets are outside the destination directory
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
Hướng nghiên cứu
Read the advisory and inspect the Rust dependency declarations plus every place ZipArchive::extract is used, especially paths handling untrusted archives. No files or tests are named in the issue. The work is complete when extraction no longer permits attacker-controlled symbolic links to resolve outside the destination, with regression coverage demonstrating the restriction.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
zip:
ZipArchive::extractcreates symbolic links whose attacker-controlled targets are outside the destination directory
| Details | |
|---|---|
| Package | zip |
| Version | 3.0.0 |
| Date | 2026-10-09 |
| Patched versions | >=9.0.0 |
In zip 9.0.0-pre2, ZipArchive::extract creates a symbolic link from an archive entry after validating only the output entry path. The link target bytes are passed directly to the platform symlink API, so a malicious archive can create an entry inside the destination that resolves to an attacker-chosen path outside it. This behavior was verified on macOS and Linux. On either platform, a subsequent application read or write through that extracted entry accesses the external target with the extracting process's permissions.
For further details see: https://github.com/zip-rs/zip2/security/advisories/GHSA-4v9h-p7m9-rh26
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/stackablectl
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
stackabletech/stackablectl#475 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stackabletech/stackablectl#471 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
stackabletech/stackablectl#468 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stackabletech/stackablectl#456 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
stackabletech/stackablectl#476 ·
Tất cả issue của stackabletech/stackablectl
Issue tương tự
-
yara-x fails to build with rsa 0.10.0: unresolved import rsa::Pkcs1v15SignCó thể đã có người làm @CfirTsabari đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 87/100
VirusTotal/yara-x#865 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue help wanted program
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
hffgzktbcc-blip/ounce-core#297 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nautechsystems/nautilus_trader#5631 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
bytecodealliance/rustix#1736 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
longbridge/gpui-kit#3871 ·
Maintainer thường phản hồi trong vòng 1 ngày