CVE-2022-24884: Trivial signature forgery in ecdsautils

Published May 5, 2022
·
Updated

ecdsautils is a tiny collection of programs used for ECDSA (keygen, sign, verify). ecdsaverify[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: ecdsaverifylistlegacy() 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.

Affected Software

12 affected componentsFixes available
debian/ecdsautils
0.3.2+git20151018-2+deb10u10.3.2+git20151018-2+deb11u10.4.1-3
ubuntu/ecdsautils<0.3.2+
0.3.2+
ubuntu/ecdsautils<0.3.2+
0.3.2+
ubuntu/ecdsautils<0.3.2+
0.3.2+
ubuntu/ecdsautils<0.4.1-1
0.4.1-1
Ecdsautils Project Ecdsautils<0.4.1
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0

Event History

May 5, 2022
CVE Published
via MITRE·11:50 PM
Data Sourced
via MITRE·11:50 PM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:07 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-24884?

CVE-2022-24884 has a high severity due to its potential for signature forgery.

2

How do I fix CVE-2022-24884?

To fix CVE-2022-24884, upgrade ecdsautils to versions 0.3.2+git20151018-2+deb10u1, 0.3.2+git20151018-2+deb11u1, or 0.4.1-3 or later.

3

What versions of ecdsautils are affected by CVE-2022-24884?

Affected versions of ecdsautils include 0.3.2 and any versions prior to 0.4.1.

4

Can I exploit CVE-2022-24884 without authentication?

Yes, CVE-2022-24884 can be exploited without authentication, making it particularly dangerous.

5

What platforms are impacted by CVE-2022-24884?

CVE-2022-24884 impacts Debian, Ubuntu, and Fedora distributions that use vulnerable versions of ecdsautils.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203