Submit #435372: emqx neuron neuron version ≤ 2.10.0 Buffer Overflowinfo

Titleemqx neuron neuron version ≤ 2.10.0 Buffer Overflow
DescriptionThe /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)
Submission11/01/2024 07:15 (2 years ago)
Moderation11/07/2024 11:35 (6 days later)
StatusAccepted
VulDB entry283410 [emqx neuron up to 2.10.0 plugin_handle.c handle_add_plugin buffer overflow]
Points19

Might our Artificial Intelligence support you?

Check our Alexa App!