Bug 2082425 (CVE-2022-24884) - CVE-2022-24884 ecdsautils: Improper Verification of ECDSA Signatures
Summary: CVE-2022-24884 ecdsautils: Improper Verification of ECDSA Signatures
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-24884
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2082426 2082427
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-06 06:41 UTC by Avinash Hanwate
Modified: 2022-05-06 10:45 UTC (History)
1 user (show)

Fixed In Version: ecdsautils 0.4.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-06 10:45:12 UTC


Attachments (Terms of Use)

Description Avinash Hanwate 2022-05-06 06:41:15 UTC
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.

https://github.com/freifunk-gluon/ecdsautils/commit/1d4b091abdf15ad7b2312535b5b95ad70f6dbd08
https://github.com/freifunk-gluon/ecdsautils/security/advisories/GHSA-qhcg-9ffp-78pw
https://github.com/freifunk-gluon/ecdsautils/commit/39b6d0a77414fd41614953a0e185c4eefa2f88ad

Comment 1 Avinash Hanwate 2022-05-06 06:41:36 UTC
Created ecdsautils tracking bugs for this issue:

Affects: epel-all [bug 2082426]
Affects: fedora-all [bug 2082427]

Comment 2 Product Security DevOps Team 2022-05-06 10:45:10 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.