CVE-2022-24884

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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
10 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
GitHub_MCNA
10 CRITICAL
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 26%
VendorProductVersion
ecdsautils_projectecdsautils
𝑥
< 0.4.1
debiandebian_linux
9.0
debiandebian_linux
10.0
debiandebian_linux
11.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
ecdsautils
bullseye (security)
0.3.2+git20151018-2+deb11u1
fixed
bullseye
0.3.2+git20151018-2+deb11u1
fixed
bookworm
0.4.1-3
fixed
sid
0.4.2-1
fixed
trixie
0.4.2-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
ecdsautils
lunar
not-affected
kinetic
ignored
jammy
Fixed 0.3.2+git20151018-2+deb10u1build0.22.04.1
released
impish
ignored
focal
Fixed 0.3.2+git20151018-2+deb10u1build0.20.04.1
released
bionic
Fixed 0.3.2+git20151018-2ubuntu0.18.04.1~esm1
released
xenial
Fixed 0.3.2+git20151018-2ubuntu0.16.04.1~esm1
released
References