CVE-2021-43571: Improper Verification of Cryptographic Signature in starkbank-ecdsa
Summary
CVE-2021-43571: Improper Verification of Cryptographic Signature in starkbank-ecdsa. Affects starkbank-ecdsa versions < 1.1.3. Fixed in 1.1.3. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The starkbank-ecdsa package is an npm package used for ECDSA (Elliptic Curve Digital Signature Algorithm) operations in Node.js applications. It provides functions for generating and verifying cryptographic signatures. The package is widely used in various applications that require secure digital signatures. However, a vulnerability has been discovered in version 1.1.2 of the package, which allows attackers to forge signatures on arbitrary messages.
Vulnerability Detail
The vulnerability in starkbank-ecdsa version 1.1.2 lies in the verify function of the ECDSA library. The function fails to properly check that the signature is non-zero, which means that an attacker can create a valid signature for any message without possessing the private key. This allows them to impersonate legitimate users or tamper with signed data. The impact of this vulnerability is critical as it undermines the integrity and authenticity of digital signatures, compromising the security of applications relying on this package.
How To Fix
Latest published version: 1.2.0 as of 22 Oct 2026
npm install starkbank-ecdsa@1.2.0
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.1.3
This is the first release that contains the fix.
npm install starkbank-ecdsa@1.1.3
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to upgrade to the fixed version of the starkbank-ecdsa package to address the issue.
Conclusion
The vulnerability in starkbank-ecdsa version 1.1.2 allows attackers to forge signatures on arbitrary messages, compromising the integrity and authenticity of digital signatures. It is crucial for developers to upgrade to version 1.1.3 or later of the package to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for starkbank-ecdsa →
FAQ
starkbank-ecdsa is an npm package used for ECDSA operations in Node.js applications. It provides functions for generating and verifying cryptographic signatures.
The vulnerability allows attackers to forge signatures on arbitrary messages, compromising the integrity and authenticity of digital signatures.
To fix this vulnerability, upgrade to version 1.1.3 or later of the starkbank-ecdsa package.
No, there are no known workarounds for this vulnerability. Upgrading to the fixed version is the recommended solution.
You can find more information about this vulnerability in the GitHub Advisory Database and the provided source link.
Related vulnerabilities
Recent vulnerabilities recorded for starkbank-ecdsa.