本文へ移動
English version →
高 7.4

zip2に展開先の外へファイルを書き込まれる脆弱性

CVE-2026-115908 SecPulse初出

概要

zip2の7.2.0から9.0.0より前では、ZIPを展開する際に、シンボリックリンク先の検証が文字列の前方一致で行われるため、展開先の外にファイルを作成・上書きされるおそれがあります。CVSSは7.4です。修正版の9.0.0に更新してください。

AI要約

外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

zip2の7.2.0から9.0.0より前では、ZIPを展開する際に、シンボリックリンク先の検証が文字列の前方一致で行われるため、展開先の外にファイルを作成・上書きされるおそれがあります。CVSSは7.4です。修正版の9.0.0に更新してください。

影響パッケージ

種類パッケージ影響を受ける版直った版
zip-rs zip2 — —
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

zip is a zip library for Rust that supports reading and writing simple ZIP files. From 7.2.0 until 9.0.0, ZipArchive::extract and ZipArchive::extract_unwrapped_root_dir use safe_prepare_path in src/read/zipfile.rs and simplified_components in src/path.rs to validate symbolic link targets with a lexical prefix comparison rather than resolving each intermediate link. An attacker who knows or can guess the absolute extraction destination can create a chain whose apparent target remains under the destination while an intermediate symlink resolves outside it, allowing attacker-controlled files to be created or overwritten with the extracting process's privileges. On Windows, discarded drive and UNC prefixes can permit a single-link escape when the process has SeCreateSymbolicLinkPrivilege, such as through administrator rights or Developer Mode. This regression is distinct from CVE-2025-29787. This issue is fixed in version 9.0.0.

出典: CVE.org (CVE Program・cvelistV5) NVD

参照URL

当サイトでは、アクセス解析と広告の効果測定のために Cookie を使います。株式会社Game のサイト共通の設定です。 詳しく