PT-2020-13166 · Fastecdsa · Fastecdsa

Adelapie

·

Published

2020-06-02

·

Updated

2025-02-12

·

CVE-2020-12607

CVSS v4.0

8.7

High

VectorAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions fastecdsa versions prior to 2.1.2
Description An issue was discovered in the ECDSA implementation when using the NIST P-256 curve. The point at infinity is mishandled, which means that for extreme values in k and s^-1, the signature verification fails even if the signature is correct. This behavior is not solely a usability problem, as there are threat models where an attacker can benefit by successfully guessing users for whom signature verification will fail.
Recommendations For versions prior to 2.1.2, update to version 2.1.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the NIST P-256 curve in the ECDSA implementation until a patch is available.

Exploit

Fix

Improper Verification of Cryptographic Signature

Weakness Enumeration

Related Identifiers

CVE-2020-12607
GHSA-56WV-2WR9-3H9R
PYSEC-2020-42

Affected Products

Fastecdsa