CVE-2024-21502

Published Feb 24, 2024 CVSS 3.1 · 7.5 High EPSS 1.0% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0060 Uninitialized Variable in fastecdsa
Github GHSA Github GHSA GHSA-ph86-g9r3-5qw4 Uninitialized Variable in fastecdsa
History
Type Values Removed Values Added
First Time appeared Antonkueltz
Antonkueltz fastecdsa
Weaknesses CWE-908
CPEs cpe:2.3:a:antonkueltz:fastecdsa:*:*:*:*:*:*:*:*
Vendors & Products Antonkueltz
Antonkueltz fastecdsa
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Nov 1, 2024, 6:49 PM
Reserved
Dec 22, 2023, 12:33 PM
Status
Analyzed
Published
Feb 24, 2024, 5:15 AM
Modified
Jun 17, 2026, 7:09 AM