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.