Skip to content
Fencer Vulns
critical 10.0

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 products
    not 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

Sources

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.