Description
NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Versions prior to 0.24.11 have a remotely triggerable heap buffer overflow in the `uri_param_parse` function of NanoMQ's REST API. The vulnerability occurs due to an off-by-one error when allocating memory for query parameter keys and values, allowing an attacker to write a null byte beyond the allocated buffer. This can be triggered via a crafted HTTP request. Version 0.24.11 patches the issue.
Problem types
CWE-122: Heap-based Buffer Overflow
Product status
References
github.com/...nanomq/security/advisories/GHSA-6w96-9qw7-m599
github.com/nanomq/nanomq/issues/2247
github.com/...ommit/69a97b3b39cc218f044f1c8896f4d3d8757bb394