CVE-2022-24884

Critical

Description

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.

SeverityCritical
CVSS10.0
Exploit probability—
ProductEcdsautils
PublishedMay 6, 2022
First seenMay 6, 2022
Weakness typeCWE-347CWE-347

How to fix

Affected products

ProductAffected versionsFixed in
ecdsautils_project ecdsautilsv < 0.4.10.4.1
fedoraproject fedora34, 35, 36—
debian debian_linux9.0, 10.0, 11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.