Vulnerabilities/

secp256k1-node allows private key extraction over ECDH

Severity:
High

Description

In elliptic-based version, loadUncompressedPublicKey has a check that the public key is on the curve: https://github.com/cryptocoinjs/secp256k1-node/blob/6d3474b81d073cc9c8cc8cfadb580c84f8df5248/lib/elliptic.js#L37-L39

loadCompressedPublicKey is, however, missing that check: https://github.

Recommendation

Update the secp256k1 package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
secp256k1
Anything's wrong? Let us know Last updated on October 21, 2024

This issue is available in SmartScanner Professional

See Pricing