Files
CVEs-PoC/2020/CVE-2020-10060.md
T
2024-05-25 21:48:12 +02:00

18 lines
1.1 KiB
Markdown

### [CVE-2020-10060](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10060)
![](https://img.shields.io/static/v1?label=Product&message=zephyr&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3E%3D%202.1.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-119%20Improper%20Restriction%20of%20Operations%20within%20the%20Bounds%20of%20a%20Memory%20Buffer&color=brighgreen)
### 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.
### POC
#### Reference
- https://zephyrprojectsec.atlassian.net/browse/ZEPSEC-37
#### Github
No PoCs found on GitHub currently.