An issue was discovered in the sodiumoxide crate before 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.
References
https://nvd.nist.gov/vuln/detail/CVE-2019-25002
https://github.com/sodium…