CVE-2017-16007 Invalid Curve Attack in node-jose
An attacker can recover private keys via an invalid curve attack when using ECDH-ES encryption in the node-jose library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-16007?
CVE-2017-16007 is a medium-severity vulnerability in HackerOne node-jose node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
node-jose is a JavaScript implementation of the JSON Object Signing and Encryption (JOSE) for current web browsers and node.js-based servers. node-jose earlier than version 0.9.3 is vulnerable to an invalid curve attack. This allows an attacker to recover the private secret key when JWE with Key Agreement with Elliptic Curve Diffie-Hellman Ephemeral Static (ECDH-ES) is used.
Weakness: CWE-200
Which versions are affected by CVE-2017-16007?
2 open source packages ship an affected version, including node-jose. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
node-jose npm | All versions | 0.9.3 |
node-jose npm | All versions | 0.9.3 |
Products include Cisco Node-Jose.
How do I fix CVE-2017-16007?
Upgrade node-jose to 0.9.3 or later.
Is CVE-2017-16007 being exploited?
There is no known exploitation of CVE-2017-16007 in the wild and no public exploit code.
Other vulnerabilities in HackerOne node-jose node module
Sources
Also known as GHSA-rvj9-8cvx-3vq9.