GitHub Advisoryadvisory · crates.io

GHSA-67fv-9r7g-432h Rhai stack overflow vulenrability

HIGH Published 2024-06-13 Modified 2024-07-05 Official page ↗
Aliases
CVE-2024-36760
Ecosystem
crates.io
Packages
rhai
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-120, CWE-674
Reviewed
2024-06-13

Affected packages

• crates.io rhai: <= 1.18.0 (no fix yet)

Description

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.

Related

Alias · CVE (1)

  • CVE-2024-36760 A stack overflow vulnerability was found in version 1.18.0 of rhai. vulnerability

Weakness · CWE (2)

  • CWE-120 Buffer Copy without Checking Size of Input weakness
  • CWE-674 Uncontrolled Recursion weakness

References