{"id":"CVE-2022-41340","aliases":["EUVD-2022-6905","GHSA-q3f4-9h4p-vgr3"],"status":"published","title":"secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00699,"percentile":0.53385,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-347"],"published":"2022-09-24T18:22:27Z","modified":"2026-10-28T02:30:54Z","fixes":[{"ecosystem":"npm","package":"@lionello/secp256k1-js","fixed_in":["1.1.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@lionello/secp256k1-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"@lionello/secp256k1-js","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.1.0"}]}]}],"products":[{"vendor":"secp256k1-js_project","product":"secp256k1-js"}],"references":[{"url":"https://github.com/lionello/secp256k1-js/issues/11","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/lionello/secp256k1-js/commit/302800f0370b42e360a33774bb808274ac729c2e","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/lionello/secp256k1-js/compare/1.0.1...1.1.0","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://www.npmjs.com/package/%40lionello/secp256k1-js","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41340","tags":["advisory"]},{"url":"https://www.npmjs.com/package/@lionello/secp256k1-js","tags":["web"]},{"url":"https://github.com/advisories/GHSA-q3f4-9h4p-vgr3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41340.json","tags":["advisory"]},{"url":"https://github.com/lionello/secp256k1-js","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-41340","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-24T18:22:27Z","modified":"2025-05-22T14:15:29.734Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:34:28.038197Z"}],"euvd":[{"id":"EUVD-2022-6905","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-24T18:22:27Z","modified":"2025-05-22T14:15:29Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:32:40.629205Z"}],"ghsa":[{"id":"GHSA-q3f4-9h4p-vgr3","title":"secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-25T00:00:15Z","modified":"2023-01-28T05:08:36Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:36:25.064927Z"}],"nvd":[{"id":"CVE-2022-41340","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-24T19:15:08.96Z","modified":"2026-06-17T05:03:03.507Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T14:07:28.501364Z"}],"osv":[{"id":"CVE-2022-41340","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-24T18:22:27Z","modified":"2026-10-28T02:30:54.672185709Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:26.860704Z"},{"id":"GHSA-q3f4-9h4p-vgr3","title":"secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery","description":"The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.","status":"published","published":"2022-09-25T00:00:15Z","modified":"2023-11-08T04:10:29.617592Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-347"],"updated_at":"2026-11-02T15:46:54.055966Z"}]}}
