Title | emqx neuron neuron version ≤ 2.10.0 Buffer Overflow |
---|
Description | The /api/v2/plugin interface library parameter uses the strcpy function to copy the contents of req->library to cmd.library. This operation poses a risk of buffer overflow since the strcpy function does not check the size of the destination buffer. If the string length in req->library exceeds the capacity of cmd.library, strcpy will continue writing beyond the memory of the destination buffer, leading to a buffer overflow. |
---|
Source | ⚠️ https://github.com/emqx/neuron/issues/2280 |
---|
User | susu199 (UID 76394) |
---|
Submission | 2024-11-01 07時15分 (6 月前) |
---|
Moderation | 2024-11-07 11時35分 (6 days later) |
---|
Status | 已接受 |
---|
VulDB Entry | 283410 [emqx neuron 直到2.10.0 plugin_handle.c handle_add_plugin 内存损坏] |
---|
Points | 19 |
---|