CVE-2024-48948: Elliptic Valid ECDSA Signatures Erroneously Rejected Vulnerability
LOWCVE-2024-48948 is a LOW (CVSS 4.8) valid ecdsa signatures erroneously rejected vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Elliptic libraries in the npm ecosystem. The issue involves valid ecdsa signatures erroneously rejected in elliptic. Remediation is available by upgrading affected packages to version 6.6.0.
CVE-2024-48948 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L).
How to Fix CVE-2024-48948
To remediate this vulnerability, upgrade all affected Elliptic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install elliptic@6.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls elliptic
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-48948, inspect your project dependencies using npm:
npm ls elliptic
Analyze the terminal output to locate any version of Elliptic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.6.0), your application is affected.
Note: The npm ls elliptic command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. In Elliptic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-48948 Affected Elliptic Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
elliptic
|
npm |
< 6.6.0
|
6.6.0
|
References
Frequently Asked Questions
What is CVE-2024-48948?
Which Elliptic versions are affected?
What version fixes CVE-2024-48948?
Is elliptic affected?
What is the CVSS score of CVE-2024-48948?
What CWE is associated with CVE-2024-48948?
How can I check npm dependencies for CVE-2024-48948?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fc9h-whq2-v747",
"modified" : "2025-11-27T08:43:15Z",
"published" : "2024-10-15T15:30:56Z",
"aliases" : [ "CVE-2024-48948" ],
"summary" : "Valid ECDSA signatures erroneously rejected in Elliptic",
"details" : "The Elliptic prior to 6.6.0 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "elliptic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-48948"
}, {
"type" : "WEB",
"url" : "https://github.com/indutny/elliptic/issues/321"
}, {
"type" : "WEB",
"url" : "https://github.com/indutny/elliptic/pull/322"
}, {
"type" : "WEB",
"url" : "https://github.com/indutny/elliptic/commit/34c853478cec1be4e37260ed2cb12cdbdc6402cf"
}, {
"type" : "WEB",
"url" : "https://blog.trailofbits.com/2025/11/18/we-found-cryptography-bugs-in-the-elliptic-library-using-wycheproof"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/indutny/elliptic"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20241220-0004"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-347" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-17T22:05:18Z",
"nvd_published_at" : "2024-10-15T14:15:05Z"
}
}