{"id":"CVE-2020-10071","published":"2020-06-05T17:37:37Z","modified":"2024-09-17T04:19:36Z","title":"Insufficient publish message length validation in MQTT","vendor":"zephyrproject-rtos","product":"zephyr","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03395,"percentile":0.89069,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-129","name":"Improper Validation of Array Index"}],"references":[{"url":"https://research.nccgroup.com/2020/05/26/research-report-zephyr-and-mcuboot-security-assessment","tags":["x_refsource_MISC"]},{"url":"https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-86","tags":["x_refsource_MISC"]},{"url":"https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10071","tags":["x_refsource_MISC"]},{"url":"https://github.com/zephyrproject-rtos/zephyr/pull/23821/commits/989c4713ba429aa5105fe476b4d629718f3e6082","tags":["x_refsource_MISC"]}],"priority":{"score":24.1,"factors":[{"name":"EPSS percentile","points":17.81},{"name":"CVSS severity","points":6.3}]},"vendorSlug":"zephyrproject-rtos","affectedVersions":[{"vendor":"zephyrproject-rtos","product":"zephyr","versions":[">= 2.2.0, < unspecified"]}],"euvd":{"id":"EUVD-2020-2536","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-zephyrproject-rtos-zephyr-cve-2020-10062","parents":[{"from":"CVE-2020-10062","to":"CVE-2020-10071","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["subsys/net/lib/mqtt/mqtt_decoder.c"],"commits":["https://github.com/zephyrproject-rtos/zephyr/commit/11b7a37d9a0b438270421b224221d91929843de4","https://github.com/zephyrproject-rtos/zephyr/commit/989c4713ba429aa5105fe476b4d629718f3e6082"],"basis":"shared function","functions":["buf_ctx"]}]}]}}