ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). `ecdsa_verify_[prepare_]legacy()` does not check whether the signature values `r` and `s` are non-zero. A signature consisting only of zeroes is always considered valid, making it trivial to forge signatures. Requiring multiple signatures from different public keys does not mitigate the issue: `ecdsa_verify_list_legacy()` will accept an arbitrary number of such forged signatures. Both the `ecdsautil verify` CLI command and the libecdsautil library are affected. The issue has been fixed in ecdsautils 0.4.1. All older versions of ecdsautils (including versions before the split into a library and a CLI utility) are vulnerable.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-05-05T23:50:10

Updated: 2024-08-03T04:29:00.636Z

Reserved: 2022-02-10T00:00:00

Link: CVE-2022-24884

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-05-06T00:15:07.697

Modified: 2023-11-07T03:44:40.320

Link: CVE-2022-24884

cve-icon Redhat

No data.