Incorrect Comparison Affecting zephyrproject-rtos/zephyr package, versions [,2.2.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.06% (31st 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-2365781
  • published26 Jan 2022
  • disclosed11 May 2020
  • creditUnknown

Introduced: 11 May 2020

CVE-2020-10024  (opens in a new tab)
CWE-697  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Incorrect Comparison. The arm platform-specific code uses a signed integer comparison when validating system call numbers. An attacker who has obtained code execution within a user thread is able to elevate privileges to that of the kernel. See NCC-ZEP-001 This issue affects: zephyrproject-rtos zephyr version 1.14.0 and later versions. version 2.1.0 and later versions.

CVSS Scores

version 3.1