CVE-2021-43569: 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
2/1/2023
KEV Status
No
Technology
C#
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 | nuget | < 1.3.2 | 1.3.2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly states the verify()
function lacked non-zero signature checks. The patch v1.3.2 release notes mention fixing 'Signature r and s range check', indicating these components were not properly validated in the verification
process. In ECDSA, both r and s must be non-zero integers in the correct range to prevent signature forgery. The most logical location for this missing validation would be in the core Verify
method responsible for signature validation.