In short
What to know.
- Package
- sodiumoxide crates.iobefore 0.0.14
- What to do
- Upgrade sodiumoxide to 0.0.14 or later.
- Source's rating
- ModerateNoumen has not assessed it.
- Noumen finding
- NMN-2026-0109Candidate. Severity unknown, confidence high.
3 December 2026
Source
- OSV record GHSA-2wc6-2rcj-8v76osv.devRetrieved 3 December 2026
Full record
- Identifier
- GHSA-2wc6-2rcj-8v76
- Aliases
- CVE-2017-1000168, RUSTSEC-2017-0001
- Severity
- Moderate, as rated by the source. Noumen has not assessed it.
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Fixed versions
- 0.0.14
- Published
- 25 August 2021
- Modified
- 8 November 2023
- Source
- OSV record GHSA-2wc6-2rcj-8v76, retrieved 3 December 2026, 00:00 UTC
Affected packages and ranges
| Package | Affected versions | Fixed in |
|---|---|---|
| sodiumoxide crates.io | before 0.0.14 | 0.0.14 |
Affected means inside a published range, not that the code path is reachable in your project.
Details, as published by the source
The scalarmult() function included in previous versions of this crate accepted all-zero public keys, for which the resulting Diffie-Hellman shared secret will always be zero regardless of the private key used.
This issue was fixed by checking for this class of keys and rejecting them if they are used.