CVE-2021-43570
CRITICAL 9.8CVSS 3.1Improper Verification of Cryptographic Signature in starkbank-ecdsa
The verify function in the Stark Bank Java ECDSA library (ecdsa-java) 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-r28h-x6hv-2fq3
- Sources
- NVDJSONOSV GHSA-r28h-x6hv-2fq3JSON
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 | ecdsa-javacpe:2.3:a:starkbank:ecdsa-java:1.0.0:*:*:*:*:*:*:* |
= 1.0.0 | |
| OSV | Maven | com.starkbank.ellipticcurve:starkbank-ecdsa | < 1.0.1 | 1.0.1 |
References
- https://github.com/starkbank/ecdsa-java/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-43570 · ADVISORY
- https://github.com/starkbank/ecdsa-java/pull/16 · WEB
- https://github.com/starkbank/ecdsa-java/commit/ed22e484186d6c66d3686bfe39d01bdbabf219b6 · WEB
- https://github.com/starkbank/ecdsa-java · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Nov 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 10 Nov 2021)