Use of uninitialized resource in fastecdsa
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-457 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | fastecdsa | before 2.3.2 | 2.3.2 | Patch available | CNA |
| — | fastecdsa (PyPI) | before 2.3.2 | 2.3.2 | Patch available | GHSA-ph86-g9r3-5qw4 |
- fastecdsa Vendor— Affected before 2.3.2 Fixed in 2.3.2 Patch available CNA
- fastecdsa (PyPI) Vendor— Affected before 2.3.2 Fixed in 2.3.2 Patch available GHSA-ph86-g9r3-5qw4
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:* | before 2.3.2 | Vulnerable | Antonkueltz |
- cpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:* Versions before 2.3.2 Vulnerable ·Antonkueltz
Remediation
- Fix · CNA fastecdsa Fixed in 2.3.2
- Fix · GHSA-ph86-g9r3-5qw4 fastecdsa (PyPI) Fixed in 2.3.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-21502
- 2026-10-03 Alias added: GHSA-ph86-g9r3-5qw4
References
More Antonkueltz Fastecdsa vulnerabilities
- TI-2020-10031 An issue was discovered in fastecdsa before 2.1.2. CVSS 3.1HIGH 7.5
Sources
- CVE-2024-21502 · CVE Program
- CVE-2024-21502 · NVD
- FIRST EPSS
- GHSA-ph86-g9r3-5qw4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences