We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-48930

secp256k1-node vulnerable to private key extraction over ECDH



Description

secp256k1-node is a Node.js binding for an Optimized C library for EC operations on curve secp256k1. In `elliptic`-based version, `loadUncompressedPublicKey` has a check that the public key is on the curve. Prior to versions 5.0.1, 4.0.4, and 3.8.1, however, `loadCompressedPublicKey` is missing that check. That allows the attacker to use public keys on low-cardinality curves to extract enough information to fully restore the private key from as little as 11 ECDH sessions, and very cheaply on compute power. Other operations on public keys are also affected, including e.g. `publicKeyVerify()` incorrectly returning `true` on those invalid keys, and e.g. `publicKeyTweakMul()` also returning predictable outcomes allowing to restore the tweak. Versions 5.0.1, 4.0.4, and 3.8.1 contain a fix for the issue.

Reserved 2024-10-09 | Published 2024-10-21 | Updated 2024-10-21 | Assigner GitHub_M


HIGH: 8.7CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Problem types

CWE-354: Improper Validation of Integrity Check Value

Product status

= 5.0.0
affected

>= 4.0.0, < 4.0.4
affected

< 3.8.1
affected

References

github.com/...1-node/security/advisories/GHSA-584q-6j8j-r5pm

github.com/...ommit/8bd6446e000fa59df3cda0ae3e424300747ea5ed

github.com/...ommit/9a15fff274f83a6ec7f675f1121babcc0c42292f

github.com/...ommit/e256905ee649a7caacc251f7c964667195a52221

github.com/...073cc9c8cc8cfadb580c84f8df5248/lib/elliptic.js

github.com/...073cc9c8cc8cfadb580c84f8df5248/lib/elliptic.js

cve.org (CVE-2024-48930)

nvd.nist.gov (CVE-2024-48930)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2024-48930

Support options

Helpdesk Chat, Email, Knowledgebase