Advisory

RUSTSEC-2019-0026

Also known as: CVE-2019-25002, GHSA-wrvc-72w7-xpmj

Summary

generichash::Digest::eq always return true

Details

PartialEq implementation for generichash::Digest has compared itself to itself.

Digest::eq always returns true and Digest::ne always returns false.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-10-11 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

sodiumoxide

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.2.5 (semver)

Fixed versions

0.2.5

Fix

  • Fixed version 0.2.5
    cargo update -p sodiumoxide --precise 0.2.5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences