bcrypt: Non-ASCII hash input can cause verification panic
受影响
| 软件包 | 受影响版本 | 修复版本 |
|---|---|---|
| rust:bcrypt | >= 0.19.0, < 0.19.2 | 0.19.2 |
bcrypt::verify(password, hash) and HashParts::from_str(hash) panic in str::slice_error_fail when given a 60-byte &str containing a multi-byte UTF-8 character at certain byte positions. Impact Any Rust code that calls bcrypt::verify (or HashParts::from_str) with an attacker-controlled hash string will panic. The bcrypt crate is #![forbid(unsafe_code)], so this is limited to a denial-of-service and cannot lead to memory corruption. Realistic attack contexts include: - Rust authentication services…
在 X 上接收快讯漏洞利用、重大泄露和故障,附应对措施。
关注 @vulnpulse_app2026/12/04 08:53,GitHub Advisory Database 发布了“bcrypt: Non-ASCII hash input can cause verification panic”(类型:漏洞公告)。严重程度为“中危”(medium)。相关技术:Rust。