← 脆弱性・アップデート

重要脆弱性アドバイザリRust

zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction

影響

パッケージ影響する版修正版
rust:zip>= 1.3.0, < 9.0.09.0.0

The symbolic-link branch of ZipArchive::extract_internal() allocates a buffer using an attacker-declared size before reading any entry data. A 112-byte archive terminates the extracting process with SIGABRT through this infallible allocation. Details rust #[cfg(any(unix, windows))] if file.is_symlink() { let mut target = Vec::with_capacity(file.size() as usize); // @audit unbounded memory allocation file.read_to_end(&mut target)?; drop(file); make_symlink(&outpath, &target, &self.shared.files)?…

GitHub Advisory Databaseで読む

2026/10/30 01:40、GitHub Advisory Databaseが「zip: Unbounded Symlink-Target Handling Can Abort Or Exhaust Memory During Extraction」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Rust。CVE: CVE-2026-115909。