Buffer overflow in zephyr - CVE-2020-10060

 

Buffer overflow in zephyr - CVE-2020-10060

Published: May 12, 2020 / Updated: August 8, 2020


Vulnerability identifier: #VU34397
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-10060
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: rutantan
Affected software:
zephyr

Detailed vulnerability description

The vulnerability allows a remote privileged user to #BASIC_IMPACT#.

In updatehub_probe, right after JSON parsing is complete, objects[1] is accessed from the output structure in two different places. If the JSON contained less than two elements, this access would reference unitialized stack memory. This could result in a crash, denial of service, or possibly an information leak. Recommend disabling updatehub until such a time as a fix can be made available. Provided the fix in CVE-2020-10059 is applied, the attack requires compromise of the server. See NCC-ZEP-030 This issue affects: zephyrproject-rtos zephyr version 2.1.0 and later versions. version 2.2.0 and later versions.


How to mitigate CVE-2020-10060

Install update from vendor's website.

Sources