• 公告ID (KylinSec-SA-2022-1082)

摘要:

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.

安全等级: Low

公告ID: KylinSec-SA-2022-1082

发布日期: 2022年9月29日

关联CVE: CVE-2019-8922  

  • 详细介绍

1. 漏洞描述

   

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.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2019-8922 KY3.4-4A bluez Unaffected
CVE-2019-8922 KY3.4-5 bluez Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2022-1081 下一篇:KylinSec-SA-2022-1085