Live threats
VulnFox

All CVEs / Antonkueltz

CVE-2020-12607Antonkueltz Fastecdsa

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 2, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-347
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastecdsa.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI fastecdsa < 2.1.2 2.1.2 pip install "fastecdsa>=2.1.2"
PyPI fastecdsa < 2.1.2 2.1.2 pip install "fastecdsa>=2.1.2"

Per OSV / GitHub Advisories (GHSA-56wv-2wr9-3h9r, PYSEC-2020-42). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
antonkueltzfastecdsa< 2.1.2

Official sources

References

Links published by the sources. Open them with care.