In the Zephyr Project MQTT code, improper bounds checking can result in memory corruption and possibly 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-85 | third party advisory |
https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10070 | vendor advisory |
https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/0b39cbf3c01d7feec9d0dd7cc7e0e374b6113542 | third party advisory patch |