lionello/secp256k1-js · Security
secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery
- GHSA ID
- GHSA-q3f4-9h4p-vgr3
- CVE ID
- CVE-2022-41340
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.
CWEs
- CWE-347 · Improper Verification of Cryptographic Signature
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 ↗