Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. starkbank-ecdsa
  4. ›
  5. CVE-2021-43571

CVE-2021-43571: Improper Verification of Cryptographic Signature

November 10, 2021 (updated November 15, 2021)

The verify function in the Stark Bank Node.js ECDSA library (ecdsa-node) fails to check that the signature is non-zero, which allows attackers to forge signatures on arbitrary messages.

References

  • github.com/advisories/GHSA-q9q6-f556-gpm7
  • github.com/starkbank/ecdsa-node/releases/tag/v1.1.3
  • nvd.nist.gov/vuln/detail/CVE-2021-43571
  • research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/

Code Behaviors & Features

Detect and mitigate CVE-2021-43571 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.3

Fixed versions

  • 1.1.3

Solution

Upgrade to version 1.1.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

npm/starkbank-ecdsa/CVE-2021-43571.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:29 +0000.