GHSA-92vm-mxjf-jqf3
Improper Verification of Cryptographic Signature in starkbank-ecdsa
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | starkbank-ecdsa | < 2.0.1 | 2.0.1 |
Details
As written in the advisory (Markdown source, shown as plain text).
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
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2021-43572
- https://github.com/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f
- https://github.com/pypa/advisory-database/tree/main/vulns/starkbank-ecdsa/PYSEC-2021-426.yaml
- https://github.com/starkbank/ecdsa-python
- https://github.com/starkbank/ecdsa-python/releases/tag/v2.0.1
- https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries