CVE-2021-43568
CRITICAL 9.8CVSS 3.1ecdsa-elixir fails to check signatures, vulnerable to message forging
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.
- Published
- 9 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-xx36-6rv4-gj8r
- Sources
- NVDJSONOSV GHSA-xx36-6rv4-gj8rJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | starkbank | elixir_ecdsacpe:2.3:a:starkbank:elixir_ecdsa:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| OSV | Hex | ecdsa-elixir | >= 1.0.0, < 1.0.1 | 1.0.1 |
References
- https://github.com/starkbank/ecdsa-elixir/releases/tag/v1.0.1 · Third Party Advisory, WEB
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-43568 · ADVISORY
- https://github.com/starkbank/ecdsa-elixir/commit/4b960e26768bb698f449eb7686b5664936b70b61 · WEB
- https://github.com/starkbank/ecdsa-elixir/commit/a5168f6d9cfbe0a0a62d92e2e9b1a97235d90343 · WEB
- https://github.com/starkbank/ecdsa-elixir · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Nov 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)