KeygraphLabs · CVE MCP

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.

CVSS
5.9
medium, from NVD
EPSS
0.90%
percentile 60.9%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

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-04Published
2018-07-20Package advisory GHSA-rvj9-8cvx-3vq9
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 0.90%
2026-12-04Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-rvj9-8cvx-3vq9node-jose (npm)0.9.3

Also known as: GHSA-rvj9-8cvx-3vq9

Related

CVEPublishedCVSSSummary
CVE-2023-256532023-02-167.5Improper calculations in ECC implementation can trigger a Denial-of-Service (DoS)
CVE-2018-01142018-01-047.5same package: node-jose (npm)
CVE-2026-1332052026-11-264.3same weakness (CWE-200) from the same CNA (hackerone)
CVE-2026-829832026-10-273.3same weakness (CWE-200) from the same CNA (hackerone)
CVE-2026-473642026-08-076.5same weakness (CWE-200) from the same CNA (hackerone)
CVE-2025-594692026-01-089same weakness (CWE-200) from the same CNA (hackerone)
CVE-2025-526692025-11-204.3same weakness (CWE-200) from the same CNA (hackerone)
CVE-2025-231732025-06-197.5same 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.

NVD · CVE.org