CVE-2022-24884 json
Trivial signature forgery in ecdsautils
published 2022-05-05 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-29652
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ecdsautils_project ecdsautils 0.4.1
- ecdsautils Debian 14, Debian 13, Debian 12 0.4.1-1
debian advisories DEBIAN-CVE-2022-24884
- ecdsautils Ubuntu 20.04 LTS 0.3.2+git20151018-2+deb10u1build0.20.04.1
- ecdsautils Ubuntu 22.04 LTS 0.3.2+git20151018-2+deb10u1build0.22.04.1
- ecdsautils Ubuntu Pro 16.04 LTS 0.3.2+git20151018-2ubuntu0.16.04.1~esm1
- ecdsautils Ubuntu Pro 18.04 LTS 0.3.2+git20151018-2ubuntu0.18.04.1~esm1
ubuntu advisories UBUNTU-CVE-2022-24884
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-24884 updated cvss 10.0
ecdsautils: Improper Verification of ECDSA Signatures
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
1.04% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected products
- freifunk-gluon ecdsautils
Classification
- Weakness
-
- CWE-347 Improper Verification of Cryptographic Signature
References
-
github.com
/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08
patch, third-party-advisory
-
github.com
/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad
patch, third-party-advisory
-
debian.org
/security/2022/dsa-5132
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/G2JT57AAFIEL7JDO2ZBV25JKYME5NU54/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/L7UBR3M4U3LA46BHXYSH7EN5GDG44GK7/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/4AKQH5WCBMJA3ODCSNERY6HVX4BX3ITG/
vendor-advisory
-
github.com
/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2022/05/msg00007.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2022-24884
- NVD CVE-2022-24884
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.