{"id":"CVE-2024-21502","published":"2024-02-24T05:00:01Z","modified":"2024-11-01T18:49:11Z","title":"Versions of the package fastecdsa before 2.3.2 are vulnerable to Use of Uninitialized Variable on the stack, via the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01263,"percentile":0.69685,"provenance":"source"},"cwes":[{"id":"CWE-457","name":"Use of Uninitialized Variable"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-FASTECDSA-6262045","tags":[]},{"url":"https://gist.github.com/keltecc/49da037072276f21b005a8337c15db26","tags":[]},{"url":"https://github.com/AntonKueltz/fastecdsa/blob/v2.3.1/src/curveMath.c%23L210","tags":[]},{"url":"https://github.com/AntonKueltz/fastecdsa/commit/57fc5689c95d649dab7ef60cc99ac64589f01e36","tags":[]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":13.94},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"fastecdsa","versions":["< 2.3.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-11-01T18:48:38.009564Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"fastecdsa","vulnerableRanges":["<2.3.2"],"patched":["2.3.2"],"from":["GHSA-ph86-g9r3-5qw4","PYSEC-2024-39"],"provenance":"source"}],"summary":{"text":"The fastecdsa Python package, in versions before 2.3.2, has a use of an uninitialized stack variable in the curvemath_mul function in src/curveMath.c, where the variable is interpreted as a user-defined type. An attacker who can control the stack contents can exploit this to trigger arbitrary free() or realloc() calls, null pointer dereferences, or corruption of allocator structures, with a network-reachable attack requiring no privileges or user interaction and resulting in denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:24Z"},"euvd":{"id":"EUVD-2024-0060","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastecdsa-cve-2020-12607","parents":[{"from":"CVE-2020-12607","to":"CVE-2024-21502","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/curveMath.c"],"commits":["https://github.com/AntonKueltz/fastecdsa/commit/4a16daeaf139be20654ef58a9fe4c79dc030458c","https://github.com/AntonKueltz/fastecdsa/commit/e592f106edd5acf6dacedfab2ad16fe6c735c9d1","https://github.com/AntonKueltz/fastecdsa/commit/57fc5689c95d649dab7ef60cc99ac64589f01e36"],"basis":"rarely changed file"}]}]}}