GHSA-ph86-g9r3-5qw4

Suggest an improvement
Source
https://github.com/advisories/GHSA-ph86-g9r3-5qw4
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/02/GHSA-ph86-g9r3-5qw4/GHSA-ph86-g9r3-5qw4.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-ph86-g9r3-5qw4
Aliases
Published
2024-02-24T06:30:17Z
Modified
2025-02-12T22:11:56.217767Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Uninitialized Variable in fastecdsa
Details

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.

Database specific
{
    "github_reviewed_at": "2025-02-12T21:59:29Z",
    "severity": "HIGH",
    "nvd_published_at": "2024-02-24T05:15:44Z",
    "cwe_ids": [
        "CWE-457",
        "CWE-908"
    ],
    "github_reviewed": true
}
References

Affected packages

PyPI / fastecdsa

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.3.2

Affected versions

1.*

1.0.0b1
1.0.1b1
1.0.1b2
1.0.1b3
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.1.2
1.1.3
1.2.1
1.3.1
1.3.2
1.4.1
1.4.2
1.4.3
1.5.1
1.5.2
1.6.1
1.6.2
1.6.3
1.6.4
1.6.5
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5

2.*

2.0.0
2.1.0
2.1.1
2.1.2
2.1.3
2.1.4
2.1.5
2.2.0
2.2.1
2.2.2
2.2.3
2.3.0
2.3.1