Out-of-Bounds Affecting bluez-cups package, versions *


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.15% (53rd 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-RHEL7-BLUEZCUPS-1932747
  • published30 Nov 2021
  • disclosed25 Feb 2019

Introduced: 25 Feb 2019

CVE-2019-8922  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 bluez-cups.

NVD Description

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

A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48. There isn't any check on whether there is enough space in the destination buffer. The function simply appends all data passed to it. The values of all attributes that are requested are appended to the output buffer. There are no size checks whatsoever, resulting in a simple heap overflow if one can craft a request where the response is large enough to overflow the preallocated buffer. This issue exists in service_attr_req gets called by process_request (in sdpd-request.c), which also allocates the response buffer.

CVSS Scores

version 3.1