zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rust:zip | >= 7.2.0, < 9.0.0 | 9.0.0 |
- Verified version: zip 9.0.0-pre3 - Affected versions: 7.2.0 and later - Precondition: The attacker knows (or can guess) the absolute path of the extraction destination The validation applied to symlinks is purely lexical. As a result, an attacker can write arbitrary files outside the extraction directory through a symlink. Exploitation requires the attacker to know (or guess) the absolute path of the destination, but this is realistic in practice: CI workspaces, /opt/app, a fixed Downloads pa…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/10/30 01:40、GitHub Advisory Databaseが「zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically. 」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Rust。CVE: CVE-2026-115908。