Description
A vulnerability was determined in BehaviorTree up to 4.7.0. This affects the function ParseScript of the file /src/script_parser.cpp of the component Diagnostic Message Handler. Executing manipulation of the argument error_msgs_buffer can lead to stack-based buffer overflow. The attack can only be executed locally. The exploit has been publicly disclosed and may be utilized. This patch is called cb6c7514efa628adb8180b58b4c9ccdebbe096e3. A patch should be applied to remediate this issue.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a BehaviorTree
4.0affected4.1affected4.2affected4.3affected4.4affected4.5affected4.6affected4.7.0affected
References
- https://vuldb.com/?id.325955 ↗
- https://vuldb.com/?ctiid.325955 ↗
- https://vuldb.com/?submit.654074 ↗
- https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 ↗
- https://github.com/BehaviorTree/BehaviorTree.CPP/pull/1007 ↗
- https://github.com/user-attachments/files/22251337/poc.zip ↗
- https://github.com/BehaviorTree/BehaviorTree.CPP/commit/cb6c7514efa628adb8180b58b4c9ccdebbe096e3 ↗