CVE-2022-24884
Published: 6 May 2022
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.
Priority
Status
Package | Release | Status |
---|---|---|
ecdsautils Launchpad, Ubuntu, Debian |
bionic |
Released
(0.3.2+git20151018-2ubuntu0.18.04.1~esm1)
Available with Ubuntu Pro |
focal |
Released
(0.3.2+git20151018-2+deb10u1build0.20.04.1)
|
|
jammy |
Released
(0.3.2+git20151018-2+deb10u1build0.22.04.1)
|
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
upstream |
Released
(0.4.1-1)
|
|
impish |
Ignored
(end of life)
|
|
lunar |
Not vulnerable
(0.4.1-1)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 7.5 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24884
- https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw
- https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08 (v0.4.1)
- https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08
- https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad
- https://ubuntu.com/security/notices/USN-6239-1
- NVD
- Launchpad
- Debian