CVE-2017-1000168 scalarmult() vulnerable to degenerate public keys

Medium 6.5 Published Updated

The sodiumoxide library's scalarmult function is vulnerable to degenerate public keys, potentially compromising cryptographic operations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-1000168?

CVE-2017-1000168 is a medium-severity vulnerability in n/a, published on 17 Nov 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

sodiumoxide 0.0.13 and older scalarmult() vulnerable to degenerate public keys

Which versions are affected by CVE-2017-1000168?

3 open source packages ship an affected version, including sodiumoxide. It affects 1 product.

PackageAffectedFixed in
sodiumoxide crates.ioAll versions0.0.14
sodiumoxide crates.ioAll versions0.0.14
sodiumoxide crates.ioFrom 0.0.0-00.0.14

Products include Sodiumoxide Project Sodiumoxide.

How do I fix CVE-2017-1000168?

Upgrade sodiumoxide to 0.0.14 or later.

Is CVE-2017-1000168 being exploited?

There is no known exploitation of CVE-2017-1000168 in the wild and no public exploit code.

Sources

Also known as GHSA-2wc6-2rcj-8v76, RUSTSEC-2017-0001.

Is CVE-2017-1000168 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free