Application crash via uninitialized point result
Published Feb 24, 2024 · Updated Nov 1, 2024
Use of an uninitialized variable in fastecdsa before 2.3.2 allows attackers to crash applications through crafted point multiplication. The curvemath_mul binding passes an uninitialized PointZZ_p result to pointZZ_pMul and later clears its GMP fields, allowing invalid free or realloc operations. Reachability requires an application to pass attacker-controlled curve and point values into the binding; the demonstrated consequence is process termination, while heap exploitation remains unproven.
Summary
What happened
Use of an uninitialized variable in fastecdsa before 2.3.2 allows attackers to crash applications through crafted point multiplication. The curvemath_mul binding passes an uninitialized PointZZ_p result to pointZZ_pMul and later clears its GMP fields, allowing invalid free or realloc operations. Reachability requires an application to pass attacker-controlled curve and point values into the binding; the demonstrated consequence is process termination, while heap exploitation remains unproven.
The record
- CVE
- CVE-2024-21502
- Published
- Feb 24, 2024
- Updated
- Nov 1, 2024
- Vendor
- Anton Kueltz
- Product
- fastecdsa
- Classifications
- CWE-457, CWE-908
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 24, 2024CVE publishedPublication date reported by the CVE source.
- Nov 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <2.3.2
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- fastecdsa memory corruption proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo