RUSTSEC-2017-0001
Dashboard / Vulnerabilities / RUSTSEC-2017-0001
RUSTSEC-2017-0001
Published: 26 Jan 2017Last Modified: 8 Nov 2023
Aliases:
Summary: scalarmult() vulnerable to degenerate public keys
Details: 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.
References: https://crates.io/crates/sodiumoxide, https://rustsec.org/advisories/RUSTSEC-2017-0001.html, https://github.com/dnaq/sodiumoxide/issues/154
Affected packages
Package
Name: sodiumoxide
Purl: pkg:cargo/sodiumoxide
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.0.14
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
