CVE-2022-24884CWE-347

Trivial signature forgery in ecdsautils

Critical · published May 5, 2022

CVSS v3.1
10.0
EPSS
1%
Percentile
63.7
In the wild
Unconfirmed
What it is

🚨 A signature made of zeroes is treated as the golden ticket! With CVE-2022-24884, the `ecdsa_verify` function accidentally rolls out the welcome mat for forged signatures, leaving the door wide open. 🔥 Think of it like a restaurant that accepts any order, no matter how empty the plate is — if the kitchen never checks the order, diners can claim anything they want! In this case, a signature made up entirely of zeroes is treated like a five-course meal that never was. An attacker could forge any number of signatures using this vulnerability, effectively impersonating other parties and compromising the integrity of communications. This is absolutely devastating for any system relying on ECDSA for authentication or data integrity, as it undermines the very foundation of trust. 🚨

Put simply

Think of it like a restaurant that accepts any order, no matter how empty the plate is — if the kitchen never checks the order, diners can claim anything they want! In this case, a signature made up entirely of zeroes is treated like a five-course meal that never was. This vulnerability exists because the `ecdsa_verify_[prepare_]legacy()` function fails to validate that the signature values `r` and `s` are non-zero. As a result, a signature consisting solely of zeroes is deemed valid, facilitating easy forgery of signatures.

What to do

An attacker could forge any number of signatures using this vulnerability, effectively impersonating other parties and compromising the integrity of communications. This is absolutely devastating for any system relying on ECDSA for authentication or data integrity, as it undermines the very foundation of trust. 🚨 To protect against this vulnerability, update the ecdsautils software to version 0.4.1 or later immediately. Additionally, review and audit systems using this library to ensure they are not relying on older vulnerable versions. 🛡️ You've got this! Take action now, and you'll have your systems secure in no time. 💪✨

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01039 · 63.7th percentile
Weakness
CWE-347 · Improper Verification of Cryptographic Signature
Published
2022-05-05T23:50Z
EPSS history
Timeline
  • 05 MAY 23:50Z
    Trivial signature forgery in ecdsautils
    cvelistv5