CVE-2020-12607
Improper Verification of Cryptographic Signature in fastecdsa
7.5
HIGH
CVSS 3.1
EPSS 0.17%
Description
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.
How to fix CVE-2020-12607
To remediate CVE-2020-12607, upgrade the affected package to a fixed version below.
- —upgrade to 2.1.2 or later
- —upgrade to 4a16daeaf139be20654ef58a9fe4c79dc030458c or later
Is CVE-2020-12607 being exploited?
Low — EPSS is 0.2%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2.1.2
- from 0, < 4a16daeaf139be20654ef58a9fe4c79dc030458c, < 7b64e3efaa806b4daaf73bb5172af3581812f8de, < e592f106edd5acf6dacedfab2ad16fe6c735c9d1 | from 0, < 2.1.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |