{"id":"RUSTSEC-2017-0001","summary":"scalarmult() vulnerable to degenerate public keys","details":"The `scalarmult()` function included in previous versions of this crate\naccepted all-zero public keys, for which the resulting Diffie-Hellman shared\nsecret will always be zero regardless of the private key used.\n\nThis issue was fixed by checking for this class of keys and rejecting them\nif they are used.","aliases":["CVE-2017-1000168","GHSA-2wc6-2rcj-8v76"],"modified":"2023-11-08T03:58:43.680103Z","published":"2017-01-26T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/sodiumoxide"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2017-0001.html"},{"type":"REPORT","url":"https://github.com/dnaq/sodiumoxide/issues/154"}],"affected":[{"package":{"name":"sodiumoxide","ecosystem":"crates.io","purl":"pkg:cargo/sodiumoxide"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.0.14"}]}],"ecosystem_specific":{"affects":{"os":[],"functions":[],"arch":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2017-0001.json","informational":null,"cvss":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}