mirror of
https://github.com/0xMarcio/cve.git
synced 2025-06-19 17:30:12 +00:00
1.2 KiB
1.2 KiB
CVE-2024-21502
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.
POC
Reference
- https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26
57fc5689c9
- https://security.snyk.io/vuln/SNYK-PYTHON-FASTECDSA-6262045