CVE-2017-16007
MEDIUM 5.9CVSS 3.0Invalid Curve Attack in node-jose
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.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-rvj9-8cvx-3vq9
- Sources
- NVDJSONOSV GHSA-rvj9-8cvx-3vq9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | cisco | node-josecpe:2.3:a:cisco:node-jose:*:*:*:*:*:node.js:*:* |
< 0.9.3 | 0.9.3 |
| OSV | npm | node-jose | < 0.9.3 | 0.9.3 |
References
- http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html · Exploit, Third Party Advisory, WEB
- https://gist.github.com/asanso/fa25685348051ef6a28d49aa0f27a4ae · Patch, Third Party Advisory, WEB
- https://github.com/cisco/node-jose · Third Party Advisory, PACKAGE
- https://nodesecurity.io/advisories/324 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16007 · ADVISORY
- https://github.com/cisco/node-jose/pull/88 · WEB
- https://github.com/cisco/node-jose/commit/f92cffb4a0398b4b1158be98423369233282e0af · WEB
- https://github.com/cisco/node-jose/compare/0.9.2...0.9.3 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2018)