제출 #654073: Davide Faconti BehaviorTree 4.7.0 / master commit 8d47d39 NULL Pointer Dereference정보

제목Davide Faconti BehaviorTree 4.7.0 / master commit 8d47d39 NULL Pointer Dereference
설명BehaviorTree.CPP version 4.7.0 (master commit 8d47d39) is vulnerable to a null pointer dereference / invalid JSON access in the JsonExporter::fromJson() function (src/json_export.cpp). The function assumes the presence of a __type field and directly indexes into JSON objects without validating their structure. When the source parameter is a JSON array whose first element is not an object (or when the __type field is missing), the code attempts to access source[0]["__type"], resulting in undefined behavior. This leads to a segmentation fault in nlohmann::json::is_object() when dereferencing a null internal pointer.
원천⚠️ https://github.com/BehaviorTree/BehaviorTree.CPP/issues/1008
사용자
 sand (UID 90194)
제출2025. 09. 14. AM 10:33 (11 개월 ago)
모더레이션2025. 09. 26. AM 08:34 (12 days later)
상태수락
VulDB 항목325954 [BehaviorTree 까지 4.7.0 /src/json_export.cpp JsonExporter::fromJson 원천 서비스 거부]
포인트들20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!