CVE-2022-41340 secp256k1-js implements ECDSA without required r and s validation, leading to signature forgery
Attackers can forge ECDSA signatures due to missing validation in secp256k1-js, compromising cryptographic integrity for Node.js applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-41340?
CVE-2022-41340 is a high-severity vulnerability in n/a, published on 24 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The secp256k1-js package before 1.1.0 for Node.js implements ECDSA without required r and s validation, leading to signature forgery.
Weakness: CWE-347
Which versions are affected by CVE-2022-41340?
2 open source packages ship an affected version, including @lionello/secp256k1-js. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
@lionello/secp256k1-js npm | All versions | 1.1.0 |
@lionello/secp256k1-js npm | All versions | 1.1.0 |
Products include Secp256k1-Js Project Secp256k1-Js.
How do I fix CVE-2022-41340?
Upgrade @lionello/secp256k1-js to 1.1.0 or later.
Is CVE-2022-41340 being exploited?
There is no known exploitation of CVE-2022-41340 in the wild and no public exploit code.
Sources
Also known as GHSA-q3f4-9h4p-vgr3.