CVE-2022-24884
Ecdsautils Project Ecdsautils vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Ecdsautils, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Ecdsautils Project Ecdsautils runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08 · Patch
- github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad · Patch
- github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/05/msg00007.html · Third Party Advisory
- www.debian.org/security/2022/dsa-5132 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L
- nvd.nist.gov/vuln/detail/CVE-2022-24884
- cve.org/CVERecord?id=CVE-2022-24884
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.