Out-of-bounds Write Affecting zephyrproject-rtos/zephyr package, versions [,3.1.0-rc1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (42nd 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-2960190
  • published26 Jul 2022
  • disclosed26 Jul 2022
  • creditHan Yan(闫晗), Lewei Qu(曲乐炜), Dongxiang Ke(柯懂湘)

Introduced: 26 Jul 2022

CVE-2022-1041  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 3.1.0-rc1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write in the gen_prov_start function in pb_adv.c. An attacker can trigger the vulnerability during provisioning by passing a too-large SegN value as part of a malicious Transaction Start PDU.

CVSS Scores

version 3.1