Skip to content

Commit

Permalink
Update elliptic to 6.5.4 (CVE-2020-28498) (#186)
Browse files Browse the repository at this point in the history
In versions of elliptic prior to 6.5.4, there is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.

See GHSA-r9p9-mrjm-926w
  • Loading branch information
LucianBuzzo authored Jan 8, 2022
1 parent 024fbda commit 4223dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"install": "node-gyp-build || exit 0"
},
"dependencies": {
"elliptic": "^6.5.2",
"elliptic": "^6.5.4",
"node-addon-api": "^2.0.0",
"node-gyp-build": "^4.2.0"
},
Expand Down

0 comments on commit 4223dd4

Please sign in to comment.