← 漏洞与更新

高危漏洞公告Rust

zip: Arbitrary file write outside the extraction directory, because ZipArchive::extract validates symlink targets lexically.

受影响

软件包受影响版本修复版本
rust:zip>= 7.2.0, < 9.0.09.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…

在 GitHub Advisory Database 阅读

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。