CVE-2021-43572
CRITICAL 9.8CVSS 3.1Improper Verification of Cryptographic Signature in starkbank-ecdsa
The verify function in the Stark Bank Python ECDSA library (aka starkbank-escada or ecdsa-python) before 2.0.1 fails to check that the signature is non-zero, which allows attackers to forge signatures on arbitrary messages.
- Published
- 9 Nov 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-347
- Also known as
- GHSA-92vm-mxjf-jqf3PYSEC-2021-426
- Sources
- NVDJSONOSV GHSA-92vm-mxjf-jqf3JSONOSV PYSEC-2021-426JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | starkbank | ecdsa-pythoncpe:2.3:a:starkbank:ecdsa-python:*:*:*:*:*:*:*:* |
< 2.0.1 | 2.0.1 |
| OSV | PyPI | starkbank-ecdsa | < 2.0.1 | 2.0.1 |
References
- https://github.com/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f · Patch, Third Party Advisory, WEB
- https://github.com/starkbank/ecdsa-python/releases/tag/v2.0.1 · Release Notes, Third Party Advisory, WEB
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/ · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-43572 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/starkbank-ecdsa/PYSEC-2021-426.yaml · WEB
- https://github.com/starkbank/ecdsa-python · PACKAGE
- https://github.com/advisories/GHSA-92vm-mxjf-jqf3 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Nov 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Nov 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Nov 2021)