{"schema_version":"1.9.0","id":"GHSA-fc9h-whq2-v747","published":"2024-10-15T15:30:56Z","modified":"2025-11-27T08:58:35.614129Z","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.","affected":[{"package":{"name":"elliptic","ecosystem":"npm","purl":"pkg:npm/elliptic"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"6.6.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-fc9h-whq2-v747/GHSA-fc9h-whq2-v747.json"}}],"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"],"github_reviewed":true,"github_reviewed_at":"2024-10-17T22:05:18Z","nvd_published_at":"2024-10-15T14:15:05Z","severity":"LOW"},"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"}]}