ADVISORIES

GitHub Advisory Database

GHSA-wrvc-72w7-xpmj

Incorrect Comparison in sodiumoxide

Details

An issue was discovered in the sodiumoxide crate starting with 0.2.0 and prior to 0.2.5 for Rust. generichash::Digest::eq compares itself to itself and thus has degenerate security properties.

Affected packages

EcosystemPackageAffected versions
crates.iosodiumoxide
From 0.2.0 before 0.2.5 (fixed in 0.2.5)

References