CVE-2024-21502 Details
Description
Versions of the package fastecdsa before 2.3.2 are vulnerable to Use of Uninitialized Variable on the stack, via the curvemath_mul function in src/curveMath.c, due to being used and interpreted as user-defined type. Depending on the variable's actual value it could be arbitrary free(), arbitrary realloc(), null pointer dereference and other. Since the stack can be controlled by the attacker, the vulnerability could be used to corrupt allocator structure, leading to possible heap exploitation. The attacker could cause denial of service by exploiting this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 1, 2024References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26 | CVE | ExploitThird Party Advisory |
| https://github.com/AntonKueltz/fastecdsa/blob/v2.3.1/src/curveMath.c%23L210 | CVE | Broken Link |
| https://github.com/AntonKueltz/fastecdsa/commit/57fc5689c95d649dab7ef60cc99ac64589f01e36 | CVE | Patch |
| https://security.snyk.io/vuln/SNYK-PYTHON-FASTECDSA-6262045 | CVE | ExploitThird Party Advisory |
| https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26 | [email protected] | ExploitThird Party Advisory |
| https://github.com/AntonKueltz/fastecdsa/blob/v2.3.1/src/curveMath.c%23L210 | [email protected] | Broken Link |
| https://github.com/AntonKueltz/fastecdsa/commit/57fc5689c95d649dab7ef60cc99ac64589f01e36 | [email protected] | Patch |
| https://security.snyk.io/vuln/SNYK-PYTHON-FASTECDSA-6262045 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-908 | Use of Uninitialized Resource | [email protected] |
| CWE-457 | Use of Uninitialized Variable | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| antonkueltz fastecdsa | < 2.3.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 12, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 24, 2024 | New CVE Received | [email protected] |