Advisory

PYSEC-2024-39

Also known as: CVE-2024-21502, GHSA-ph86-g9r3-5qw4

Summary

The record has no summary.

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.

Severity

Not rated by the source.

Dates

Published
2024-02-24 05:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

fastecdsa

PyPI · All systems

Affected

  • introduced 0, fixed 2.3.2 (ecosystem)

Fixed versions

2.3.2

Fix

  • Fixed version 2.3.2
    pip install --upgrade fastecdsa==2.3.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences