CVE-2022-24884
Last modified
CVE-2022-24884 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.97% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ecdsautils Project | Ecdsautils | < 0.4.1 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
References
- https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08Patch, Third Party Advisory
- https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88adPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00007.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5132Third Party Advisory
- https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08Patch, Third Party Advisory
- https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88adPatch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00007.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5132Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24884?
How severe is CVE-2022-24884?
How do I fix CVE-2022-24884?
Are you affected by CVE-2022-24884?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
