Skip to content

Rhai stack overflow vulenrability

High severity GitHub Reviewed Published Jun 13, 2024 to the GitHub Advisory Database • Updated Jun 13, 2024

Package

cargo rhai (Rust)

Affected versions

<= 1.18.0

Patched versions

None

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.

References

Published by the National Vulnerability Database Jun 13, 2024
Published to the GitHub Advisory Database Jun 13, 2024
Reviewed Jun 13, 2024
Last updated Jun 13, 2024

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2024-36760

GHSA ID

GHSA-67fv-9r7g-432h

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.