개요
이 취약점이 무엇인지
The ML-DSA crate is a Rust implementation of the Module-Lattice-Based Digital Signature Standard (ML-DSA). Starting in version 0.0.4 and prior to version 0.1.0-rc.4, the ML-DSA signature verification implementation in the RustCrypto `ml-dsa` crate incorrectly accepts signatures with repeated (duplicate) hint indices. According to the ML-DSA specification (FIPS 204 / RFC 9881), hint indices within each polynomial must be **strictly increasing**. The current implementation uses a non-strict monotonic check (`<=` instead of `<`), allowing duplicate indices. This is a regression bug. The original implementation was correct, but a commit in version 0.0.4 inadvertently changed the strict `<` comparison to `<=`, introducing the vulnerability. Version 0.1.0-rc.4 fixes the issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| signaturesRustCrypto | 이 버전만 | 취약 | = | >= 0.0.4, < 0.1.0-rc.4 | 벤더 공지 확인 | |
할당 기관(CNA) 레코드 기준 (NVD 분석 전). 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
기타11
- csrc.nist.gov/pubs/fips/204/final
- datatracker.ietf.org/doc/html/rfc9881
- github.com/C2SP/wycheproof
- github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_44_verify_test.json
- github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_65_verify_test.json
6개 더 보기
- github.com/C2SP/wycheproof/blob/master/testvectors_v1/mldsa_87_verify_test.json
- github.com/RustCrypto/signatures/commit/400961412be2e2ab787942cf30e0a9b66b37a54a
- github.com/RustCrypto/signatures/commit/b01c3b73dd08d0094e089aa234f78b6089ec1f38
- github.com/RustCrypto/signatures/issues/894
- github.com/RustCrypto/signatures/pull/895
- github.com/RustCrypto/signatures/security/advisories/GHSA-5x2r-hc65-25f9