GHSA-56wv-2wr9-3h9r

    Dashboard / Vulnerabilities / GHSA-56wv-2wr9-3h9r

    GHSA-56wv-2wr9-3h9r

    Published: 12 Oct 2021Last Modified: 12 Feb 2025

    Summary: Improper Verification of Cryptographic Signature in fastecdsa

    Details: 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.

    Affected packages

    Package

    Name: fastecdsa

    Purl: pkg:pypi/fastecdsa

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.1.2

    Affected versions

    1.0.0b1
    1.0.1
    1.0.1b1
    1.0.1b2
    1.0.1b3
    1.0.2
    1.0.3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High