Vulnerability Details : CVE-2020-10060
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.
Vulnerability category: OverflowDenial of service
Products affected by CVE-2020-10060
- cpe:2.3:o:zephyrproject:zephyr:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-10060
0.41%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-10060
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:N/A:P |
8.0
|
4.9
|
NIST | |
6.5
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H |
1.2
|
5.2
|
NIST | |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
1.3
|
6.0
|
Zephyr Project |
CWE ids for CVE-2020-10060
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: vulnerabilities@zephyrproject.org (Secondary)
-
The product accesses or uses a pointer that has not been initialized.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-10060
-
https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37
[ZEPSEC-37] UpdateHub Might Dereference An Uninitialized Pointer - Zephyr Project Security IssuesThird Party Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/27865
mgmt: updatehub: Fix possible deref an uninitialized ptr by nandojve · Pull Request #27865 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/27891
[backport v2.2] lib: updatehub: Improve download on slow networks and apply security fix by nandojve · Pull Request #27891 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
-
https://docs.zephyrproject.org/latest/security/vulnerabilities.html#cve-2020-10060
Vulnerabilities — Zephyr Project DocumentationVendor Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/27893
[backport v2.1] lib: updatehub: Improve download on slow networks and apply security fix by nandojve · Pull Request #27893 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
-
https://github.com/zephyrproject-rtos/zephyr/pull/27889
[backport v2.3] lib: updatehub: Fix possible deref an uninitialized ptr by nandojve · Pull Request #27889 · zephyrproject-rtos/zephyr · GitHubPatch;Third Party Advisory
Jump to