LowGHSA-977x-g7h5-7qgwCVE-2024-42460
Elliptic's ECDSA missing check for whether leading bit of r and s is zero
Published 2 Aug 2024 · Updated 4 Nov 2025
Affected package
ellipticnpm
- Affected
- >=2.0.0 <6.5.7
- Fixed in
- 6.5.7
Update to the fixed version for your release line, for example:
npm install elliptic@6.5.7Details
In the Elliptic package 6.5.6 for Node.js, ECDSA signature malleability occurs because there is a missing check for whether the leading bit of r and s is zero.
Is GHSA-977x-g7h5-7qgw in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected elliptic, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-42460
- Linkgithub.com/indutny/elliptic/pull/317
- Linkgithub.com/indutny/elliptic/commit/accb61e9c1a005e5c8ff96a8b33893100bb42d11
- Linkgithub.com/indutny/elliptic/commit/b6ff1758d9a6d1a7aec177ff6df9f586492a6315
- Packagegithub.com/indutny/elliptic
- Linksecurity.netapp.com/advisory/ntap-20241004-0005
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.