GitHub Advisoryadvisory · npm
GHSA-rvj9-8cvx-3vq9 Invalid Curve Attack in node-jose
MEDIUM
Official page ↗
- Aliases
- CVE-2017-16007
- Ecosystem
- npm
- Packages
- node-jose
- Severity
- Moderate
- CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-200
- Reviewed
- 2020-06-16
Affected packages
• npm node-jose: < 0.9.3 → fixed in 0.9.3
Description
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.
Proof of Concept
Recommendation
Update to version 0.9.3 or later.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- 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://gist.github.com/asanso/fa25685348051ef6a28d49aa0f27a4ae web
- https://github.com/cisco/node-jose package
- https://github.com/cisco/node-jose/compare/0.9.2...0.9.3 web
- http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html web