CVE-2024-21502Antonkueltz Fastecdsa
High 7.5 No auth needed
Follow: this CVE · Antonkueltz · Antonkueltz Fastecdsa We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Feb 24, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fastecdsa.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | fastecdsa |
< 2.3.2 |
2.3.2 |
pip install "fastecdsa>=2.3.2" |
| PyPI | fastecdsa |
< 2.3.2 |
2.3.2 |
pip install "fastecdsa>=2.3.2" |
Per OSV / GitHub Advisories (GHSA-ph86-g9r3-5qw4, PYSEC-2024-39). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| antonkueltz | fastecdsa | < 2.3.2 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- github.com Broken Link
- github.com Patch
- security.snyk.io Exploit Third Party Advisory