Invalid Curve Attack in node-jose
Affected versions of node-jose are 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.
Recommendation
Update to version 0.9.3 or later.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | node-jose | < 0.9.3 | 0.9.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-16007
- https://github.com/cisco/node-jose/pull/88
- https://github.com/cisco/node-jose/commit/f92cffb4a0398b4b1158be98423369233282e0af
- https://gist.github.com/asanso/fa25685348051ef6a28d49aa0f27a4ae
- https://github.com/cisco/node-jose
- https://github.com/cisco/node-jose/compare/0.9.2...0.9.3
- http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html
- CVSS vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- npm
- Package
node-jose- Disclosed
- 20.07.2018
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rvj9-8cvx-3vq9 - CC BY 4.0
Vulnerability history: node-jose
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 07.2018 02.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 2
- Medium 1
Disclosures per year
- 2018: 1
- 2019: 0
- 2020: 0
- 2021: 0
- 2022: 1
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Invalid Curve Attack in node-jose this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.