critical9.8
CVE-2021-43570
Improper Verification of Cryptographic Signature in starkbank-ecdsa
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | com.starkbank.ellipticcurve:starkbank-ecdsa | < 1.0.1 | 1.0.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Starkbank | Ecdsa-Java | Version 1.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/starkbank/ecdsa-java/releases/tag/v1.0.1
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/
- https://github.com/advisories/GHSA-r28h-x6hv-2fq3
- https://nvd.nist.gov/vuln/detail/CVE-2021-43570
- https://github.com/starkbank/ecdsa-java/pull/16
- https://github.com/starkbank/ecdsa-java/commit/ed22e484186d6c66d3686bfe39d01bdbabf219b6
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries