CVE-2024-36760
A stack overflow vulnerability was found in version 1.18.0 of rhai. …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/MageWeiG/VulnerabilityCollection/blob/main/CVE-2024-36760/info.md
- nvd.nist.gov/vuln/detail/CVE-2024-36760
- github.com/rhaiscript/rhai/commit/308d07a11d3bff0d230f685a6320292181e5a445
- github.com/advisories/GHSA-67fv-9r7g-432h
- nvd.nist.gov/vuln/detail/CVE-2024-36760
- cve.org/CVERecord?id=CVE-2024-36760
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.