← 취약점·업데이트

보통취약점 권고Rust

sevenz-rust2: decompress builds each output path as dest.join(entry.name()) with no traversal guard, allowing a crafted .7z to write files outside the destination (Zip-Slip)

영향

패키지영향받는 버전수정 버전
rust:sevenz-rust2< 0.21.10.21.1

Extracting an attacker-supplied 7z archive can write files outside the destination directory. The 7z header stores each entry's path as a UTF-16 name with nothing constraining it to a relative, in-tree path. The extractor joins that name onto the destination and writes to the result without normalizing it or checking that it stays under the destination root, so an entry named ../../etc/cron.d/x or an absolute path escapes the target. Details In src/util/decompress.rs, decompress_impl computes t…

GitHub Advisory Database에서 읽기

2026. 11. 21. 오전 08:33, GitHub Advisory Database에서 "sevenz-rust2: decompress builds each output path as dest.join(entry.name()) with no traversal guard, allowing a crafted .7z to write files outside the destination (Zip-Slip)"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: Rust. CVE: CVE-2026-61725.