PT-2024-27153 · Rhai · Rhai
Published
2024-06-13
·
Updated
2024-07-03
·
CVE-2024-36760
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
rhai version 1.18.0
Description
A stack overflow vulnerability was found in rhai. The issue is related to a recursive call in the
eval stmt block function, located in the /SRC/rhai/SRC/eval/STMT.Rs file. This vulnerability can be exploited due to the recursive nature of the eval stmt function.Recommendations
For version 1.18.0, consider disabling the
eval stmt block function as a temporary workaround until a patch is available. Restrict access to the eval stmt function to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.Exploit
Uncontrolled Recursion
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Rhai