Cyber Resilience

CVE-2024-21502

Antonkueltz Fastecdsa ≤ 2.3.2

Public PoC
Published
24 February 2024
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 7.5
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.010 61th percentile
Risk Priority 59 floored blend · peak EPSS

Summary

CVE-2024-21502 is a high-severity Use of Uninitialized Variable (CWE-457) vulnerability in Antonkueltz Fastecdsa. Its CVSS base score is 7.5 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique OS Credential Dumping (T1003); ranked in the top 39% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-15 (Development Process, Standards, and Tools) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1212 Exploitation for Credential Access Credential Access
Adversaries may exploit software vulnerabilities in an attempt to collect credentials.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-45617Shared CWE-457, CWE-908
CVE-2023-6324Shared CWE-457, CWE-908
CVE-2024-37002Shared CWE-457, CWE-908
CVE-2024-7540Shared CWE-457, CWE-908
CVE-2024-7022Shared CWE-457, CWE-908
CVE-2024-23159Shared CWE-457, CWE-908
CVE-2023-25586Shared CWE-457, CWE-908
CVE-2026-2806Shared CWE-457, CWE-908
CVE-2023-42056Shared CWE-457, CWE-908
CVE-2024-33021Shared CWE-457, CWE-908

Affected Assets

antonkueltz
fastecdsa
≤ 2.3.2

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and static analysis directly find uses of uninitialized variables before deployment.

Documented development standards and tools can enforce initialization requirements in code.

Engineering principles can mandate explicit variable initialization to avoid uninitialized use.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly catch uninitialized-variable defects via static analysis and code review while the control encompasses many additional development controls.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect uninitialized-variable bugs, but the control is broader.

prevents

Secure development life cycle mandates practices that reduce uninitialized-variable defects.

prevents

Application security requirements can specify initialization rules, but the control itself does not directly address the weakness.

prevents

Secure system architecture and engineering principles include defensive coding practices that prevent use of uninitialized memory or objects.

prevents

Secure coding explicitly requires variable initialization and static-analysis checks.

References