CVE-2021-43568 ecdsa-elixir fails to check signatures, vulnerable to message forging
Attackers can forge signatures on arbitrary messages due to missing non-zero checks in the Stark Bank Elixir ECDSA library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-43568?
CVE-2021-43568 is a critical vulnerability in n/a, published on 9 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The verify function in the Stark Bank Elixir ECDSA library (ecdsa-elixir) 1.0.0 fails to check that the signature is non-zero, which allows attackers to forge signatures on arbitrary messages.
Weakness: CWE-347
Which versions are affected by CVE-2021-43568?
2 open source packages ship an affected version, including ecdsa-elixir. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ecdsa-elixir Hex | From 1.0.0 | 1.0.1 |
ecdsa-elixir Hex | From 1.0.0 | 1.0.1 |
Products include Starkbank Elixir Ecdsa.
How do I fix CVE-2021-43568?
Upgrade ecdsa-elixir to 1.0.1 or later.
Is CVE-2021-43568 being exploited?
There is no known exploitation of CVE-2021-43568 in the wild and no public exploit code.
Sources
Also known as GHSA-xx36-6rv4-gj8r.