CVE-2019-17210: Input Validation
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 MQTTDeserializepublish() 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2019-17210?
CVE-2019-17210 is classified as a denial-of-service vulnerability.
How do I fix CVE-2019-17210?
To fix CVE-2019-17210, update your Arm Mbed OS and MQTT library to a patched version.
What software is affected by CVE-2019-17210?
CVE-2019-17210 affects the Arm Mbed OS and the Arm Mbed MQTT library version 2017-11-02.
What is the impact of CVE-2019-17210?
The impact of CVE-2019-17210 is that it may allow a remote attacker to cause a denial of service.
Is there a known exploit for CVE-2019-17210?
As of now, there are no publicly known exploits specifically targeting CVE-2019-17210.