CVE-2024-21502

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-21502
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-21502.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-21502
Aliases
Published
2024-02-24T05:15:44Z
Modified
2025-01-08T15:42:24.497675Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/antonkueltz/fastecdsa

Affected ranges

Type
GIT
Repo
https://github.com/antonkueltz/fastecdsa
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v1.*

v1.0.1
v1.0.2
v1.0.3
v1.1.3
v1.2.1
v1.3.1
v1.3.2
v1.4.1
v1.4.2
v1.5.1
v1.5.2
v1.6.1
v1.6.2
v1.6.3
v1.6.4
v1.6.5
v1.7.1
v1.7.2
v1.7.3
v1.7.4
v1.7.5

v2.*

v2.0.0
v2.1.0
v2.1.1
v2.1.2
v2.1.3
v2.1.4
v2.1.5
v2.2.0
v2.2.1
v2.2.2
v2.2.3
v2.3.0
v2.3.1