CVE-2022-24884

CRITICAL

Ecdsautils < 0.4.1 - Signature Verification Bypass

Title source: rule
STIX 2.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.

Scores

CVSS v3 10.0
EPSS 0.0012
EPSS Percentile 31.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-347
Status published
Products (7)
debian/debian_linux 9.0
debian/debian_linux 10.0
debian/debian_linux 11.0
ecdsautils_project/ecdsautils < 0.4.1
fedoraproject/fedora 34
fedoraproject/fedora 35
fedoraproject/fedora 36
Published May 06, 2022
Tracked Since Feb 18, 2026