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_app をフォロー2026/12/04 08:53、GitHub Advisory Databaseが「bcrypt: Non-ASCII hash input can cause verification panic」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Rust。