Buffer Overflow Affecting zephyrproject-rtos/zephyr package, versions [,1.14.2)[2.0.0,2.2.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (22nd 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-2365755
  • published26 Jan 2022
  • disclosed11 May 2020
  • creditUnknown

Introduced: 11 May 2020

CVE-2020-10019  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Buffer Overflow. USB DFU has a potential buffer overflow where the requested length (wLength) is not checked against the buffer size. This could be used by a malicious USB host to exploit the buffer overflow. See NCC-ZEP-002 This issue affects: zephyrproject-rtos zephyr version 1.14.1 and later versions. version 2.1.0 and later versions.

CVSS Scores

version 3.1