CVE-2019-25002
published 2020-12-31CVE-2019-25002: 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…
PriorityP341critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
1.48%
71.0th percentile
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.
Affected
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| sodiumoxide_project | sodiumoxide | < 0.2.5 | 0.2.5 |
| sodiumoxide_project | sodiumoxide | >= 0.0.0-0 < 0.2.5 | 0.2.5 |
| sodiumoxide_project | sodiumoxide | >= 0.2.0 < 0.2.5 | 0.2.5 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Incorrect Comparison in sodiumoxide
osv·2021-08-25
CVE-2019-25002 [CRITICAL] Incorrect Comparison in sodiumoxide
Incorrect Comparison in sodiumoxide
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.
GHSA
Incorrect Comparison in sodiumoxide
ghsa·2021-08-25
CVE-2019-25002 [CRITICAL] CWE-697 Incorrect Comparison in sodiumoxide
Incorrect Comparison in sodiumoxide
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.
OSV
generichash::Digest::eq always return true
osv·2019-10-11
CVE-2019-25002 generichash::Digest::eq always return true
generichash::Digest::eq always return true
PartialEq implementation for generichash::Digest has compared itself to itself.
Digest::eq always returns true and Digest::ne always returns false.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2020-12-31
Published