CVE-2021-43570:
Improper Verification of Cryptographic Signature in starkbank-ecdsa
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.44793%
CWE
Published
11/10/2021
Updated
1/20/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.starkbank.ellipticcurve:starkbank-ecdsa | maven | < 1.0.1 | 1.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub commit diff explicitly shows the addition of range checks for r and s in the verify
method of Ecdsa.java
. The vulnerability description confirms the absence of these checks in versions <1.0.1 allowed signature forgery. The patch directly addresses this by adding four conditional checks (r >=1, r < N, s >=1, s < N) in the verify()
function, confirming this was the vulnerable entry point.