Skip to main content
← All vulnerabilities
CVE-2024-21502GHSA-PH86-G9R3-5QW4PYSEC-2024-39

Versions of the package fastecdsa before 2.3.2 are vulnerable to Use of Uninitialized Variable on the stack, via the curvemath_mul function

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a fastecdsa

    fixed in 2.3.2

  • fastecdsaPyPI

    fixed in 2.3.2

  • fastecdsaPyPI

    fixed in 2.3.2

References 4

security.snyk.io

gist.github.com

GitHub · AntonKueltz/fastecdsa