Out-of-bounds Read Affecting bluez/bluez package, versions [,5.56)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.06% (30th 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-BLUEZBLUEZ-2369241
  • published26 Jan 2022
  • disclosed10 Jun 2021
  • creditUnknown

Introduced: 10 Jun 2021

CVE-2021-3588  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade bluez/bluez to version 5.56 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read. The cli_feat_read_cb() function in src/gatt-database.c does not perform bounds checks on the 'offset' variable before using it as an index into an array for reading.

References

CVSS Scores

version 3.1