What’s Vulnerable › Vulnerabilities
CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-05-11 · updated 2026-06-17
- Weakness: CWE-119
Description
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. 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.
Affected products
- zephyrproject zephyr: from 2.1.0 before 2.4.0 — fixed in 2.4.0
How to fix
Upgrade to a fixed version: zephyrproject zephyr 2.4.0. Check the vendor advisory for mitigations.
References
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10060
- https://github.com/zephyrproject-rtos/zephyr/pull/27865
- https://github.com/zephyrproject-rtos/zephyr/pull/27889
- https://github.com/zephyrproject-rtos/zephyr/pull/27891
- https://github.com/zephyrproject-rtos/zephyr/pull/27893
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37
- https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10060
- https://github.com/zephyrproject-rtos/zephyr/pull/27865
- https://github.com/zephyrproject-rtos/zephyr/pull/27889
- https://github.com/zephyrproject-rtos/zephyr/pull/27891
- https://github.com/zephyrproject-rtos/zephyr/pull/27893
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37
Get alerted when CVE-2020-10060 or the next vulnerability affects your stack