Live threats

All CVEs / Sodiumoxide Project

CVE-2019-25002Sodiumoxide Project Sodiumoxide

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Dec 31, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Sodiumoxide.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io sodiumoxide ≥ 0.2.0 < 0.2.5 0.2.5 cargo update -p sodiumoxide --precise 0.2.5
crates.io sodiumoxide ≥ 0.0.0-0 < 0.2.5 0.2.5 cargo update -p sodiumoxide --precise 0.2.5

Per OSV / GitHub Advisories (GHSA-wrvc-72w7-xpmj, RUSTSEC-2019-0026). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
sodiumoxide_projectsodiumoxide< 0.2.5

Official sources

References

Links published by the sources. Open them with care.