| 제목 | Davide Faconti BehaviorTree 4.7.0 / master commit 8d47d39 Stack-based Buffer Overflow |
|---|
| 설명 | BehaviorTree.CPP version 4.7.0 (master commit 8d47d39) contains a stack-buffer-overflow vulnerability in the script parser.
The vulnerable function ParseScript() (in src/script_parser.cpp) allocates a fixed-size buffer on the stack. The buffer is used to store diagnostic messages produced by ErrorReport. However, these messages can exceed 2048 bytes in length, which causes writes beyond the bounds of error_msgs_buffer. This results in a stack-buffer-overflow, confirmed by AddressSanitizer. |
|---|
| 원천 | ⚠️ https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1006 |
|---|
| 사용자 | sand (UID 90194) |
|---|
| 제출 | 2025. 09. 14. AM 10:36 (11 개월 ago) |
|---|
| 모더레이션 | 2025. 09. 26. AM 08:34 (12 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 325955 [BehaviorTree 까지 4.7.0 Diagnostic Message /src/script_parser.cpp ParseScript error_msgs_buffer 메모리 손상] |
|---|
| 포인트들 | 20 |
|---|