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

Exploit Maturity
Proof of concept
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-2960453
  • published27 Jul 2022
  • disclosed27 Jul 2022
  • creditHan Yan, Lewei Qu, Dongxiang Ke

Introduced: 27 Jul 2022

CVE-2022-1042  (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 via the Bluetooth mesh core stack, during provisioning. If Transaction Continue PDU is received before the Transaction Start PDU (i.e., start segment lost), the SegN will be initialized as 0xff, which allows subsequent SegO up to 63 and leads to exploiting this vulnerability.

CVSS Scores

version 3.1