Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Antonkueltz | Fastecdsa | < 2.1.2 |
Related Weaknesses (CWE)
References
- https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dIssue TrackingPatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af358PatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6PatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/issues/52ExploitThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dIssue TrackingPatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/commit/7b64e3efaa806b4daaf73bb5172af358PatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6PatchThird Party Advisory
- https://github.com/AntonKueltz/fastecdsa/issues/52ExploitThird Party Advisory
FAQ
What is CVE-2020-12607?
CVE-2020-12607 is a vulnerability with a CVSS score of 7.5 (HIGH). 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,...
How severe is CVE-2020-12607?
CVE-2020-12607 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-12607?
Check the references section above for vendor advisories and patch information. Affected products include: Antonkueltz Fastecdsa.