[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

249966

 
 

909

 
 

195636

 
 

282

Paid content will be excluded from the download.


Download | Alert*
OVAL

ALAS2-2023-2309 --- bluez

ID: oval:org.secpod.oval:def:1701868Date: (C)2023-11-24   (M)2023-11-24
Class: PATCHFamily: unix




An issue was discovered in bluetoothd in BlueZ through 5.48. The vulnerability lies in the handling of a SVC_ATTR_REQ by the SDP implementation. By crafting a malicious CSTATE, it is possible to trick the server into returning more bytes than the buffer actually holds, resulting in leaking arbitrary heap data. The root cause can be found in the function service_attr_req of sdpd-request.c. The server does not check whether the CSTATE data is the same in consecutive requests, and instead simply trusts that it is the same. 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 , which also allocates the response buffer

Platform:
Amazon Linux 2
Product:
bluez
Reference:
ALAS2-2023-2309
CVE-2019-8921
CVE-2019-8922
CVE    2
CVE-2019-8922
CVE-2019-8921
CPE    2
cpe:/o:amazon:linux:2
cpe:/a:bluez:bluez

© SecPod Technologies