Out-of-bounds Read Affecting bluez package, versions <5.53-0ubuntu3.2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.06% (29th 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-UBUNTU2004-BLUEZ-1303050
  • published10 Jun 2021
  • disclosed10 Jun 2021

Introduced: 10 Jun 2021

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

How to fix?

Upgrade Ubuntu:20.04 bluez to version 5.53-0ubuntu3.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream bluez package and not the bluez package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

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.

CVSS Scores

version 3.1