CVE-2017-16007 json
Invalid Curve Attack in node-jose
published 2018-06-04 8 y ago modified 2026-06-17 4 mo ago also GHSA-rvj9-8cvx-3vq9 , EUVD-2018-0319
- cvss
- 5.9
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 60%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm node-jose 0.9.3
- cisco node-jose 0.9.3
- github.com/cisco/node-jose@f92cffb commit
- github.com/cisco/node-jose#88 pull request
- gist.github.com/asanso/fa25685348051ef6a28d49aa0f27a4ae advisory
Exploit prediction
0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- blog.intothesymmetry.com http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | node-jose | <0.9.3 |
0.9.3 |
Affected products
- HackerOne node-jose node module
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
gist.github.com
/asanso/fa25685348051ef6a28d49aa0f27a4ae
web, patch, third-party-advisory
-
github.com
/cisco/node-jose/pull/88
web
-
github.com
/cisco/node-jose/commit/f92cffb4a0398b4b1158be98423369233282e0af
web
-
blog.intothesymmetry.com
/2017/03/critical-vulnerability-in-json-web.html
web, exploit, third-party-advisory
-
nodesecurity.io
/advisories/324
third-party-advisory
-
github.com
/cisco/node-jose
package, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-16007
advisory
-
github.com
/cisco/node-jose/compare/0.9.2...0.9.3
web
Sources
- CVE List CVE-2017-16007
- GitHub Advisory GHSA-rvj9-8cvx-3vq9
- NVD CVE-2017-16007
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.