CVE-2019-8922

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:bluez:bluez:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

07 Nov 2022, 19:01

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
First Time Debian debian Linux
Debian
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html - Mailing List, Third Party Advisory

24 Oct 2022, 14:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/10/msg00026.html -

15 Dec 2021, 14:51

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20211203-0002/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20211203-0002/ - Third Party Advisory

03 Dec 2021, 08:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20211203-0002/ -

30 Nov 2021, 18:57

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 5.8
v3 : 8.8
CWE CWE-787
CPE cpe:2.3:a:bluez:bluez:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*
References (MISC) https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-overflow/ - (MISC) https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-overflow/ - Exploit, Third Party Advisory

29 Nov 2021, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-11-29 08:15

Updated : 2023-12-10 14:09


NVD link : CVE-2019-8922

Mitre link : CVE-2019-8922

CVE.ORG link : CVE-2019-8922


JSON object : View

Products Affected

linux

  • linux_kernel

bluez

  • bluez

debian

  • debian_linux
CWE
CWE-787

Out-of-bounds Write