CVE-2017-16007 · hackerone
CVE-2017-16007
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 2018-06-04, last changed 2026-06-17. Weakness: CWE-200.
How to fix
Upgrade to a fixed version: node-jose 0.9.3 (npm). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Where the flaw is in the code
Fixed in cisco/node-jose by pull request #88, f92cffb4a0, c327c04d4b. Functions changed by the fix: validatePublic, fallback, ecdhDeriveFn, isValid, ECFieldElementFp, feFpEquals, feFpNegate, feFpAdd, feFpSubtract, feFpMultiply, feFpSquare, feFpDivide. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).
Timeline
| 2018-06-04 | Published |
| 2018-07-20 | Package advisory GHSA-rvj9-8cvx-3vq9 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 0.90% |
| 2026-12-04 | Code-level analysis added |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| GHSA-rvj9-8cvx-3vq9 | node-jose (npm) | 0.9.3 |
Also known as: GHSA-rvj9-8cvx-3vq9
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2023-25653 | 2023-02-16 | 7.5 | Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS) |
| CVE-2018-0114 | 2018-01-04 | 7.5 | same package: node-jose (npm) |
| CVE-2026-133205 | 2026-11-26 | 4.3 | same weakness (CWE-200) from the same CNA (hackerone) |
| CVE-2026-82983 | 2026-10-27 | 3.3 | same weakness (CWE-200) from the same CNA (hackerone) |
| CVE-2026-47364 | 2026-08-07 | 6.5 | same weakness (CWE-200) from the same CNA (hackerone) |
| CVE-2025-59469 | 2026-01-08 | 9 | same weakness (CWE-200) from the same CNA (hackerone) |
| CVE-2025-52669 | 2025-11-20 | 4.3 | same weakness (CWE-200) from the same CNA (hackerone) |
| CVE-2025-23173 | 2025-06-19 | 7.5 | same weakness (CWE-200) from the same CNA (hackerone) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-16007, or call /api/v1/vulnerabilities/CVE-2017-16007. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.