← 漏洞与更新

中危漏洞公告Rust

zip: AES Entry HMAC Authentication Bypass on Premature EOF

受影响

软件包受影响版本修复版本
rust:zip>= 0.6.0, < 9.0.09.0.0

An AES-encrypted (AE-x) entry's authentication code is verified only when the reader's byte counter lands exactly on zero. If the bounded entry reader reaches the archive's actual EOF before the attacker-controlled, header-declared compressed_size, the counter remains positive, the HMAC is never read or compared, and the truncated, unauthenticated plaintext is returned as a clean end of stream. A zero-payload entry also returns before authentication. An attacker who does not know the password c…

在 GitHub Advisory Database 阅读

2026/10/30 01:40,GitHub Advisory Database 发布了“zip: AES Entry HMAC Authentication Bypass on Premature EOF”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Rust。CVE:CVE-2026-115906。