VDB
Sign up
CRITICAL9.8

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/sodiumoxide
Introduced in: 0.2.0Fixed in: 0.2.5

Upgrade sodiumoxide to 0.2.5 or newer (ecosystem crates.io).

References