starkbank/ecdsa-java · Security
Improper Verification of Cryptographic Signature in starkbank-ecdsa
- GHSA ID
- GHSA-r28h-x6hv-2fq3
- CVE ID
- CVE-2021-43570
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
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.
CWEs
- CWE-347 · Improper Verification of Cryptographic Signature
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-43570 ↗
- https://github.com/starkbank/ecdsa-java/releases/tag/v1.0.1 ↗
- 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 ↗
- https://github.com/advisories/GHSA-r28h-x6hv-2fq3 ↗