Improper 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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.starkbank.ellipticcurve:starkbank-ecdsa | < 1.0.1 | 1.0.1 |
References
- 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://github.com/starkbank/ecdsa-java
- 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-347- Platform
- Java / Kotlin (Maven)
- Package
com.starkbank.ellipticcurve:starkbank-ecdsa- Disclosed
- 10.11.2021
- Updated
- 11.10.2026 12:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-r28h-x6hv-2fq3 - CC BY 4.0
Vulnerability history: com.starkbank.ellipticcurve:starkbank-ecdsa
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.