# CVE-2017-1000168: RUSTSEC-2017-0001 - scalarmult() vulnerable to degenerate public keys

Source: https://junglewise.ai/threats/cve-2017-1000168-scalarmult-vulnerable-to-degenerate-public-keys  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2017-01-26  
License: CC BY 4.0 with a link back

CVE-2017-1000168 · Severity: low · CVSS 3 · Published 2017-01-26

scalarmult() vulnerable to degenerate public keys

Technologies: [sodiumoxide (crates.io)](https://junglewise.ai/threats/technologies/sodiumoxide). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2017-1000168 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2017-1000168 being exploited in the wild.

**How severe is CVE-2017-1000168?** Low severity, with a CVSS score of 3, published 26 January 2017.

**Which products and versions are affected?** sodiumoxide (crates.io) SEMVER:introduced=0,fixed=0.0.14, SEMVER:introduced=0.0.0-0,fixed=0.0.14.

**Is there a fix for CVE-2017-1000168?** Yes. sodiumoxide (crates.io): upgrade to 0.0.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2017-1000168?** Check whether you run sodiumoxide (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- sodiumoxide (crates.io): upgrade to 0.0.14 or later

  ```sh
  cargo update -p sodiumoxide
  ```


## Affected products

- sodiumoxide (crates.io) SEMVER:introduced=0,fixed=0.0.14, SEMVER:introduced=0.0.0-0,fixed=0.0.14

## Identifiers

- CVE-2017-1000168
- GHSA-2wc6-2rcj-8v76
- RUSTSEC-2017-0001

## Related threats

- [RUSTSEC-2021-0137 - sodiumoxide is deprecated](https://junglewise.ai/threats/rustsec-2021-0137-sodiumoxide-is-deprecated-ade7f8af)
- [RUSTSEC-2019-0026 - generichash::Digest::eq always return true](https://junglewise.ai/threats/cve-2019-25002-incorrect-comparison-in-sodiumoxide)
