Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-48930— secp256k1-node vulnerable to private key extraction over ECDH

Quick assessment

Affected
cryptocoinjs secp256k1-node
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

secp256k1-node是cryptocoinjs开源的一个库。 secp256k1-node存在安全漏洞,该漏洞源于loadCompressedPublicKey缺少检查,导致攻击者可以恢复私钥。受影响版本如下:5.0.0版本、4.0.3版本、4.0.2版本、4.0.1版本、4.0.0版本和3.8.0及之前版本。

AI Predicted 8.1 Difficulty: Moderate EPSS 0.41% · P33
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-48930

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
secp256k1-node vulnerable to private key extraction over ECDH
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
完整性检查值验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
secp256k1-node 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
secp256k1-node是cryptocoinjs开源的一个库。 secp256k1-node存在安全漏洞,该漏洞源于loadCompressedPublicKey缺少检查,导致攻击者可以恢复私钥。受影响版本如下:5.0.0版本、4.0.3版本、4.0.2版本、4.0.1版本、4.0.0版本和3.8.0及之前版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cryptocoinjs secp256k1-node = 5.0.0 -

II. Public POCs for CVE-2024-48930

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-48930

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-48930 (2)

Vendor Advisories for CVE-2024-48930 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-48930

No comments yet


Leave a comment