Timing Attack Affecting fastecdsa package, versions [,2.1.2)


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.24% (64th percentile)
Expand this section
NVD
7.5 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PYTHON-FASTECDSA-570964
  • published 3 Jun 2020
  • disclosed 3 Jun 2020
  • credit Unknown

How to fix?

Upgrade fastecdsa to version 2.1.2 or higher.

Overview

fastecdsa is a python package for doing fast elliptic curve cryptography, specifically digital signatures.

Affected versions of this package are vulnerable to Timing Attack. 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. There are some threat models where an attacker can benefit by successfully guessing users for whom signature verification will fail.