{"id":"GHSA-92vm-mxjf-jqf3","summary":"Improper Verification of Cryptographic Signature in starkbank-ecdsa","details":"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.","aliases":["CVE-2021-43572","PYSEC-2021-426"],"modified":"2024-10-25T15:01:08.810162Z","published":"2021-11-10T20:41:39Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-11-10T18:23:18Z","nvd_published_at":"2021-11-09T22:15:00Z","cwe_ids":["CWE-347"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43572"},{"type":"WEB","url":"https://github.com/starkbank/ecdsa-python/commit/d136170666e9510eb63c2572551805807bd4c17f"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/starkbank-ecdsa/PYSEC-2021-426.yaml"},{"type":"PACKAGE","url":"https://github.com/starkbank/ecdsa-python"},{"type":"WEB","url":"https://github.com/starkbank/ecdsa-python/releases/tag/v2.0.1"},{"type":"WEB","url":"https://research.nccgroup.com/2021/11/08/technical-advisory-arbitrary-signature-forgery-in-stark-bank-ecdsa-libraries"}],"affected":[{"package":{"name":"starkbank-ecdsa","ecosystem":"PyPI","purl":"pkg:pypi/starkbank-ecdsa"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.1"}]}],"versions":["0.1","0.1.1","0.1.2","0.1.3","0.1.4","0.1.5","0.1.6","0.1.7","0.1.8","0.1.9","1.0.0","1.1.0","1.1.1","2.0.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-92vm-mxjf-jqf3/GHSA-92vm-mxjf-jqf3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}