High severity · published Nov 29, 2021
CVE-2019-8922
A heap-based buffer overflow was discovered in bluetoothd in BlueZ through 5.48
8.8
CVSS
1.5%
EPSS
No
On KEV
Description
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 vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Adjacent
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.5% · higher than 75% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BL
Bluez · Bluez
through 5.48 · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-8922
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-8922
Mailing List
https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20211203-0002/
Exploit
https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-overflow/
More from Bluez
9.1
CVE-2021-43400
An issue was discovered in gatt-database.c in BlueZ 5.61
8.8
CVE-2024-8805
BlueZ HID over GATT Profile Improper Access Control Remote Code Execution Vulnerability
8.8
CVE-2022-39177
BlueZ before 5.59 allows physically proximate attackers to cause a denial of service because malformed and invalid capabilities can be processed in profiles/audio/avdtp.c
8.8
CVE-2022-39176
BlueZ before 5.59 allows physically proximate attackers to obtain sensitive information because profiles/audio/avrcp.c does not validate params_len
8.8
CVE-2022-0204
A heap overflow vulnerability was found in bluez in versions prior to 5.63
