From 4223dd472b79107fd6941cf3e53e6b89b1fb03c6 Mon Sep 17 00:00:00 2001 From: Lucian Buzzo Date: Sat, 8 Jan 2022 07:51:32 +0000 Subject: [PATCH] Update elliptic to 6.5.4 (CVE-2020-28498) (#186) 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 https://github.com/advisories/GHSA-r9p9-mrjm-926w --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4def37c..d294ab1 100644 --- a/package.json +++ b/package.json @@ -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" },