Incorrect Permission Assignment for Critical Resource Affecting zephyrproject-rtos/zephyr package, versions [,3.6.0-rc3)


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.04% (12th 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-6274522
  • published25 Feb 2024
  • disclosed19 Feb 2024
  • creditthedjnK

Introduced: 19 Feb 2024

CVE-2024-1638  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade zephyrproject-rtos/zephyr to version 3.6.0-rc3 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource in handling Bluetooth characteristic attributes in gatt.c. Without specifying additional permissions such as BT_GATT_PERM_READ_ENCRYPT/BT_GATT_PERM_READ_AUTHEN for read operations or BT_GATT_PERM_WRITE_ENCRYPT/BT_GATT_PERM_WRITE_AUTHEN for write operations, even in secure connections only mode, leads to the absence of permission checks when BT_GATT_PERM_READ_LESC or BT_GATT_PERM_WRITE_LESC are set.

References

CVSS Scores

version 3.1