CVE-2022-24884 Trivial signature forgery in ecdsautils
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
11 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ecdsautils(Debian 12) | < 0.4.1-1 | 0.4.1-1 | Fixed |
| debian/ecdsautils(Debian 13) | < 0.4.1-1 | 0.4.1-1 | Fixed |
| debian/ecdsautils(Debian 14) | < 0.4.1-1 | 0.4.1-1 | Fixed |
| ecdsautils project ecdsautils | < 0.4.1 | 0.4.1 | Fixed |
| ubuntu/ecdsautils(Ubuntu 20.04) | < 0.3.2+git20151018-2+deb10u1build0.20.04.1; = 0.3.2+git20151018-2build1 | 0.3.2+git20151018-2+deb10u1build0.20.04.1 | Fixed |
| ubuntu/ecdsautils(Ubuntu 22.04) | < 0.3.2+git20151018-2+deb10u1build0.22.04.1; = 0.3.2+git20151018-2build1 | 0.3.2+git20151018-2+deb10u1build0.22.04.1 | Fixed |
| ubuntu/ecdsautils(Ubuntu Pro 16.04) | < 0.3.2+git20151018-2ubuntu0.16.04.1~esm1; = 0.3.2+git20151018-2 | 0.3.2+git20151018-2ubuntu0.16.04.1~esm1 | Fixed |
| ubuntu/ecdsautils(Ubuntu Pro 18.04) | < 0.3.2+git20151018-2ubuntu0.18.04.1~esm1; = 0.3.2+git20151018-2; = 0.3.2+git20151018-2build1 | 0.3.2+git20151018-2ubuntu0.18.04.1~esm1 | Fixed |
| debian linux | = 9.0; = 10.0; = 11.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 34; = 35; = 36 | No fix listed | Versions listed |
| freifunk-gluon ecdsautils | = < 0.4.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| freifunk-gluon ecdsautils | = < 0.4.1 | No fix listed |
| ubuntu/ecdsautils(Ubuntu:22.04) | < 0.3.2+git20151018-2+deb10u1build0.22.04.1 | 0.3.2+git20151018-2+deb10u1build0.22.04.1 |
| ecdsautils project ecdsautils | < 0.4.1 | 0.4.1 |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
| debian linux | = 9.0 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| debian/ecdsautils(Debian:12) | < 0.4.1-1 | 0.4.1-1 |
| debian/ecdsautils(Debian:14) | < 0.4.1-1 | 0.4.1-1 |
| debian/ecdsautils(Debian:13) | < 0.4.1-1 | 0.4.1-1 |
| ubuntu/ecdsautils(Ubuntu:Pro:16.04) | < 0.3.2+git20151018-2ubuntu0.16.04.1~esm1 | 0.3.2+git20151018-2ubuntu0.16.04.1~esm1 |
| ubuntu/ecdsautils(Ubuntu:Pro:16.04) | = 0.3.2+git20151018-2 | No fix listed |
| ubuntu/ecdsautils(Ubuntu:Pro:18.04) | < 0.3.2+git20151018-2ubuntu0.18.04.1~esm1 | 0.3.2+git20151018-2ubuntu0.18.04.1~esm1 |
| ubuntu/ecdsautils(Ubuntu:Pro:18.04) | = 0.3.2+git20151018-2 | No fix listed |
| ubuntu/ecdsautils(Ubuntu:Pro:18.04) | = 0.3.2+git20151018-2build1 | No fix listed |
| ubuntu/ecdsautils(Ubuntu:20.04) | < 0.3.2+git20151018-2+deb10u1build0.20.04.1 | 0.3.2+git20151018-2+deb10u1build0.20.04.1 |
| ubuntu/ecdsautils(Ubuntu:20.04) | = 0.3.2+git20151018-2build1 | No fix listed |
| ubuntu/ecdsautils(Ubuntu:22.04) | = 0.3.2+git20151018-2build1 | No fix listed |
References
- Debian Security Tracker CVE-2022-24884 vendor-advisory
- github.com issue-tracking third-party-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- [debian-lts-announce] 20220507 [SECURITY] [DLA 2997-1] ecdsautils security update mailing-list third-party-advisory
- DSA-5132 third-party-advisory vendor-advisory
- FEDORA-2022-111177a5ac vendor-advisory
- FEDORA-2022-7704d5e885 vendor-advisory
- FEDORA-2022-bf58612696 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6239-1 vendor-advisory
- www.cve.org issue-tracking