VULNERABILITY INTELLIGENCE

CVE-2024-21502

CVSS score7.5 HIGH
EPSS probability1.03%
CISA KEVNot currently listed
Published2024-02-24
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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.

Weakness classification

  • report@snyk.io: CWE-457
  • nvd@nist.gov: CWE-908

Primary references