high7.5
CVE-2024-36760
Rhai stack overflow vulenrability
Impact
A stack overflow vulnerability was found in version 1.18.0 of rhai. The flaw position is: (/ SRC/rhai/SRC/eval/STMT. Rs in rhai: : eval: : STMT: : _ $LT $impl $u20 $rhai.. engine.. Engine$GT$::eval_stmt::h3f1d68ce37fc6e96). Due to the stack overflow is a recursive call/SRC/rhai/SRC/eval/STMT. Rs file eval_stmt_block function.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | rhai | <= 1.18.0 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/MageWeiG/VulnerabilityCollection/blob/main/CVE-2024-36760/info.md
- https://github.com/advisories/GHSA-67fv-9r7g-432h
- https://nvd.nist.gov/vuln/detail/CVE-2024-36760
- https://github.com/rhaiscript/rhai/commit/308d07a11d3bff0d230f685a6320292181e5a445