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

CVE-2021-43572: Improper Verification of Cryptographic Signature in starkbank-ecdsa

November 10, 2021 (updated October 25, 2024)

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

References

  • github.com/advisories/GHSA-92vm-mxjf-jqf3
  • github.com/pypa/advisory-database/tree/main/vulns/starkbank-ecdsa/PYSEC-2021-426.yaml
  • github.com/starkbank/ecdsa-python
  • github.com/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f
  • github.com/starkbank/ecdsa-python/releases/tag/v2.0.1
  • nvd.nist.gov/vuln/detail/CVE-2021-43572
  • research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries

Code Behaviors & Features

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

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.0.1

Fixed versions

  • 2.0.1

Solution

Upgrade to version 2.0.1 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

pypi/starkbank-ecdsa/CVE-2021-43572.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:32 +0000.