The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-41340
- https://github.com/lionello/secp256k1-js/issues/11
- https://github.com/lionello/secp256k1-js/commit/302800f0370b42e360a33774bb808274ac729c2e
- https://github.com/lionello/secp256k1-js/compare/1.0.1…1.1.0
- https://www.npmjs.com/package/@lionello/secp256k1-js
- https://github.com/advisories/GHSA-q3f4-9h4p-vgr3