Vulnerability Details : CVE-2020-12607
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.
Products affected by CVE-2020-12607
- cpe:2.3:a:fastecdsa_project:fastecdsa:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-12607
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 59 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-12607
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2020-12607
-
The product does not verify, or incorrectly verifies, the cryptographic signature for data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-12607
-
https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dc030458c
Update CHANGELOG.md · AntonKueltz/fastecdsa@4a16dae · GitHubIssue Tracking;Patch;Third Party Advisory
-
https://github.com/AntonKueltz/fastecdsa/issues/52
ECDSA verification fails for extreme value in k and s^-1 (P-256, SHA-256) · Issue #52 · AntonKueltz/fastecdsa · GitHubExploit;Third Party Advisory
-
https://github.com/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af3581812f8de
Update docs to v2.1.2 · AntonKueltz/fastecdsa@7b64e3e · GitHubPatch;Third Party Advisory
-
https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6c735c9d1
Properly handle the point at infinity · AntonKueltz/fastecdsa@e592f10 · GitHubPatch;Third Party Advisory
Jump to