cve.bz

CVE-2024-48930 cryptocoinjs secp256k1-node

8.7 highEPSS 0.4%Fix available

High (8.7) in cryptocoinjs secp256k1-node. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in secp256k1 3.8.1, 4.0.4, 5.0.1.

On this page
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.

Severity

CVSS 4.0

8.7 high
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
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2024-10-21. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-354 Improper Validation of Integrity Check Value
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • secp256k1 (npm): fixed in 5.0.1, 4.0.4, 3.8.1

Ask an AI about this CVE

Show the promptExplain CVE-2024-48930 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-48930?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-48930?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-48930 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cryptocoinjs secp256k1-node= 5.0.0
cryptocoinjs secp256k1-node>= 4.0.0, < 4.0.4
cryptocoinjs secp256k1-node< 3.8.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-584q-6j8j-r5pmnpmsecp256k1>=5.0.0 <5.0.15.0.1
GHSA-584q-6j8j-r5pmnpmsecp256k1>=4.0.0 <4.0.44.0.4
GHSA-584q-6j8j-r5pmnpmsecp256k1<3.8.13.8.1

Attack patterns (CAPEC)

  • CAPEC-75 Manipulating Writeable Configuration Files Likelihood: High · Severity: Very High
  • CAPEC-145 Checksum Spoofing Severity: Medium
  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON