Description
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Losant Arduino MQTT Client prior to V2.7. User interaction is not required to exploit this vulnerability. The specific flaw exists within the parsing of MQTT PUBLISH packets. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-6436.
References (2)
Core 2
Core References
Release Notes, Third Party Advisory, VDB Entry x_refsource_misc
https://zerodayinitiative.com/advisories/ZDI-18-1337
Release Notes x_refsource_misc
https://github.com/knolleary/pubsubclient/releases/tag/v2.7
Scores
CVSS v3
8.8
EPSS
0.0926
EPSS Percentile
94.7%
Attack Vector
ADJACENT_NETWORK
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-119
CWE-121
Status
published
Products (1)
losant/arduino_mqtt_client
< 2.7
Published
Nov 13, 2018
Tracked Since
Feb 18, 2026