logo

CVE-2024-21502 fastecdsa

Package

Manager: pip
Name: fastecdsa
Vulnerable Version: >=0 <2.3.2

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: 0.0009 pctl0.26409

Details

Uninitialized Variable in fastecdsa Versions of the package fastecdsa before 2.3.2 use an 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.

Metadata

Created: 2024-02-24T06:30:17Z
Modified: 2025-02-12T21:59:29Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-ph86-g9r3-5qw4/GHSA-ph86-g9r3-5qw4.json
CWE IDs: ["CWE-457", "CWE-908"]
Alternative ID: GHSA-ph86-g9r3-5qw4
Finding: F138
Auto approve: 1