Skip to content
OpenAdvisories

Package · crates.io

ml-dsa

3 known vulnerabilities.

3 results · Feed

  • Medium —

    ml-dsa's UseHint function has off by two error when r0 equals zero

    ### Summary There's a bug in the `use_hint` function where it adds 1 instead of subtracting 1 when the decomposed low bits `r0` equal exactly zero. FIPS 204 Algorithm 40 is pretty clear that `r0 > 0` means strictly positive, but the current code treats zero a…

  • Medium 5.3

    ML-DSA Signature Verification Accepts Signatures with Repeated Hint Indices

    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…

  • Medium 6.4

    RustCrypto: Signatures has timing side-channel in ML-DSA decomposition

    RustCrypto: Signatures offers support for digital signatures, which provide authentication of data using public-key cryptography. Prior to version 0.1.0-rc.2, a timing side-channel was discovered in the Decompose algorithm which is used during ML-DSA signing …