CVE-2022-24884
published critical CVSS 3.1 · 10.0Trivial signature forgery in ecdsautils
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| freifunk-gluon | — | ecdsautils< 0.4.1 | Affected | Not stated | GitHub_M |
| Debian | bullseye | ecdsautils | Advisory build | 0.3.2+git20151018-2+deb11u1 | DSA-5132-1 |
| Ubuntu | bionic | ecdsautils | Advisory build | 0.3.2+git20151018-2ubuntu0.18.04.1~esm1 | USN-6239-1 |
| Debian | buster | ecdsautils | Advisory build | 0.3.2+git20151018-2+deb10u1 | DSA-5132-1 |
| Debian | stretch | ecdsautils | Advisory build | 0.3.2+git20151018-2+deb9u1 | DLA-2997-1 |
| Ubuntu | focal | ecdsautils | Advisory build | 0.3.2+git20151018-2+deb10u1build0.20.04.1 | USN-6239-1 |
| Ubuntu | jammy | ecdsautils | Advisory build | 0.3.2+git20151018-2+deb10u1build0.22.04.1 | USN-6239-1 |
| Ubuntu | xenial | ecdsautils | Advisory build | 0.3.2+git20151018-2ubuntu0.16.04.1~esm1 | USN-6239-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| freifunk-gluon | ecdsautils | < 0.4.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
8- https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08
- https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad
- https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw
- [debian-lts-announce] 20220507 [SECURITY] [DLA 2997-1] ecdsautils security update https://lists.debian.org/debian-lts-announce/2022/05/msg00007.html
- FEDORA-2022-bf58612696 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4AKQH5WCBMJA3ODCSNERY6HVX4BX3ITG/
- FEDORA-2022-111177a5ac https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G2JT57AAFIEL7JDO2ZBV25JKYME5NU54/
- FEDORA-2022-7704d5e885 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7UBR3M4U3LA46BHXYSH7EN5GDG44GK7/
- DSA-5132 https://www.debian.org/security/2022/dsa-5132
Provider assertions
3GitHub_M · cna
Trivial signature forgery in ecdsautils
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 6b7d2cf7519223405625f58490fa89ecf9cfc2fc526e732eec00a1ad414f99b1
- Ingested
- 23 Sep 2026, 07:58:57 UTC
- Source record
- Official CVE record