Access of Uninitialized Pointer Affecting zephyrproject-rtos/zephyr package, versions [2.1.0,2.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.59% (79th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ZEPHYRPROJECTRTOSZEPHYR-2365754
  • published26 Jan 2022
  • disclosed11 May 2020
  • creditUnknown

Introduced: 11 May 2020

CVE-2020-10060  (opens in a new tab)
CWE-824  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 2.4.0 or higher.

Overview

Affected versions of this package are vulnerable to Access of Uninitialized Pointer. 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.

CVSS Scores

version 3.1