CVE-2022-24884 Trivial signature forgery in ecdsautils
Attackers can forge valid ECDSA signatures using zero values, bypassing authentication or integrity checks in applications using ecdsautils.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-24884?
CVE-2022-24884 is a critical vulnerability in Debian Debian Linux, published on 5 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-347
Which versions are affected by CVE-2022-24884?
It affects 3 products.
Products include Debian Debian Linux, Ecdsautils Project Ecdsautils, Fedoraproject Fedora.
How do I fix CVE-2022-24884?
Upgrade to a fixed version.
Is CVE-2022-24884 being exploited?
There is no known exploitation of CVE-2022-24884 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2022-24884, DLA-2997-1, DSA-5132-1, GHSA-qhcg-9ffp-78pw, UBUNTU-CVE-2022-24884, USN-6239-1.