← 脆弱性・アップデート

警告脆弱性アドバイザリRust

bcrypt: Non-ASCII hash input can cause verification panic

影響

パッケージ影響する版修正版
rust:bcrypt>= 0.19.0, < 0.19.20.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…

GitHub Advisory Databaseで読む

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