A denial-of-service issue was discovered in the MQTT library in Arm Mbed OS 2017-11-02. The function readMQTTLenString() is called by the function MQTTDeserialize_publish() to get the length and content of the MQTT topic name. In the function readMQTTLenString(), mqttstring->lenstring.len is a part of user input, which can be manipulated. An attacker can simply change it to a larger value to invalidate the if statement so that the statements inside the if statement are skipped, letting the value of mqttstring->lenstring.data default to zero. Later, curn is accessed, which points to mqttstring->lenstring.data. On an Arm Cortex-M chip, the value at address 0x0 is actually the initialization value for the MSP register. It is highly dependent on the actual firmware. Therefore, the behavior of the program is unpredictable from this time on.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2019-11-04T19:48:28

Updated: 2024-08-05T01:33:17.307Z

Reserved: 2019-10-06T00:00:00

Link: CVE-2019-17210

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2019-11-04T20:15:10.027

Modified: 2024-11-21T04:31:51.857

Link: CVE-2019-17210

cve-icon Redhat

No data.