GitHub Advisoryadvisory · PyPI

GHSA-56wv-2wr9-3h9r Improper Verification of Cryptographic Signature in fastecdsa

HIGH Published 2021-10-12 Modified 2025-02-12 Official page ↗
Aliases
CVE-2020-12607
Ecosystem
PyPI
Packages
fastecdsa
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-347
Reviewed
2021-10-08

Affected packages

• PyPI fastecdsa: < 2.1.2 → fixed in 2.1.2

Description

An issue was discovered in fastecdsa before 2.1.2. When using the NIST P-256 curve in the ECDSA implementation, the point at infinity is mishandled. This means that for an extreme value in k and s-1, the signature verification fails even if the signature is correct. This behavior is not solely a usability problem. There are some threat models where an attacker can benefit by successfully guessing users for whom signature verification will fail.

Related

Alias · CVE (1)

  • CVE-2020-12607 An issue was discovered in fastecdsa before 2.1.2. vulnerability

Weakness · CWE (1)

  • CWE-347 Improper Verification of Cryptographic Signature weakness

References