CVE-2021-43572: Improper Verification of Cryptographic Signature in starkbank-ecdsa
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.47322%
CWE
Published
11/10/2021
Updated
10/25/2024
KEV Status
No
Technology
Python
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 |
---|---|---|---|
starkbank-ecdsa | pip | < 2.0.1 | 2.0.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The GitHub commit diff shows critical validation checks were added to the verify()
method in ellipticcurve/ecdsa.py
. The vulnerability description explicitly states the verify
function failed to check for non-zero signatures. The CWE-347 and advisory details confirm this is a signature verification flaw. The patch adds r/s range checks directly in the verify
method, confirming this was the vulnerable function.