Buffer Overflow Affecting zephyrproject-rtos/zephyr package, versions [,3.0.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.07% (33rd 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-3228224
  • published11 Jan 2023
  • disclosed11 Jan 2023
  • creditszymonh

Introduced: 11 Jan 2023

CVE-2021-3966  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Buffer Overflow due to the implementation of net_buf_add_mem. An attacker may interactively write arbitrary amounts of data utilizing the usb hci out endpoint which will be copied to the destination bypassing buffer boundaries

CVSS Scores

version 3.1