← 취약점·업데이트

보통취약점 권고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.