CVEfocus › CVE database › CVE-2022-24884

CVE-2022-24884Trivial signature forgery in ecdsautils

CVSS 10.0 CriticalEPSS 1.0% (higher than 63% of CVEs)Published 2022-05-05Updated 2025-04-23Assigner: GitHub_M

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.

CWE-347

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ecdsautilsFixed0.3.2+git20151018-2+deb10u1build0.22.04.1UBUNTU-CVE-2022-24884
Ubuntu 20.04ecdsautilsFixed0.3.2+git20151018-2+deb10u1build0.20.04.1UBUNTU-CVE-2022-24884
Ubuntu 18.04ecdsautilsFix pending0.3.2+git20151018-2ubuntu0.18.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24884
Ubuntu 16.04ecdsautilsFix pending0.3.2+git20151018-2ubuntu0.16.04.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2022-24884
Debian 14ecdsautilsFixed0.4.1-1DEBIAN-CVE-2022-24884
Debian 13ecdsautilsFixed0.4.1-1DEBIAN-CVE-2022-24884
Debian 12ecdsautilsFixed0.4.1-1DEBIAN-CVE-2022-24884

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.