Description
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.
Remediation
References
http://blog.intothesymmetry.com/2017/03/critical-vulnerability-in-json-web.html
https://gist.github.com/asanso/fa25685348051ef6a28d49aa0f27a4ae
https://github.com/cisco/node-jose
https://nodesecurity.io/advisories/324
Related Vulnerabilities
CVE-2018-20677 Vulnerability in maven package org.webjars.bower:bootstrap-sass
CVE-2019-7722 Vulnerability in maven package net.sourceforge.pmd:pmd-core
CVE-2020-28472 Vulnerability in maven package org.webjars.npm:aws-sdk
CVE-2020-36641 Vulnerability in maven package fr.turri:axmlrpc
CVE-2023-36479 Vulnerability in maven package org.eclipse.jetty.ee10:jetty-ee10-servlets