The Zephyr MQTT parsing code performs insufficient checking of the length field on publish messages, allowing a buffer overflow and potentially remote code execution. NCC-ZEP-031 This issue affects: zephyrproject-rtos zephyr version 2.2.0 and later versions.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://research.nccgroup.com/2020/05/26/research-report-zephyr-and-mcuboot-security-assessment | third party advisory |
https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-86 | third party advisory |
https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10071 | vendor advisory |
https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/989c4713ba429aa5105fe476b4d629718f3e6082 | third party advisory patch |