~ / search / GHSA-56wv-2wr9-3h9r

GHSA-56wv-2wr9-3h9r

Improper Verification of Cryptographic Signature in fastecdsa

Source: GitHub Advisory Database (reviewed) High CVE-2020-12607

Packages

EcosystemPackageAffectedFixed in
PyPI fastecdsa < 2.1.2 2.1.2

Details

As written in the advisory (Markdown source, shown as plain text).

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<sup>-1</sup>, 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.

References

External links from the advisory. They lead to third-party sites.