Advisory

PYSEC-2020-42

Also known as: CVE-2020-12607, GHSA-56wv-2wr9-3h9r

Summary

The record has no summary.

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^-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.

Severity

Not rated by the source.

Dates

Published
2020-06-02 21:15 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

fastecdsa

PyPI · All systems

Affected

  • introduced 0, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

  • Fixed version 2.1.2
    pip install --upgrade fastecdsa==2.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences