CVE-2021-43572 json
Improper Verification of Cryptographic Signature in starkbank-ecdsa
published 2021-11-09 4 y ago modified 2026-06-17 4 mo ago also GHSA-92vm-mxjf-jqf3 , PYSEC-2021-426 , EUVD-2021-0251
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 69%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi starkbank-ecdsa 2.0.1
- starkbank ecdsa-python 2.0.1
Exploit prediction
1.25% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- research.nccgroup.com https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | starkbank-ecdsa | <2.0.1 |
2.0.1 |
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f
web, patch, third-party-advisory
-
research.nccgroup.com
/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries/
exploit, third-party-advisory, advisory
-
github.com
/starkbank/ecdsa-python/releases/tag/v2.0.1
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-43572
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/starkbank-ecdsa/PYSEC-2021-426.yaml
web
-
github.com
/starkbank/ecdsa-python
package
-
research.nccgroup.com
/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries
web
-
github.com
/advisories/GHSA-92vm-mxjf-jqf3
advisory
Sources
- CVE List CVE-2021-43572
- GitHub Advisory GHSA-92vm-mxjf-jqf3
- NVD CVE-2021-43572
- OSV PYSEC-2021-426
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.