Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Bluez | Bluez | <= 5.48 |
| Linux | Linux Kernel | - |
| Debian | Debian Linux | 10.0 |
Related Weaknesses (CWE)
References
- https://lists.debian.org/debian-lts-announce/2022/10/msg00026.htmlMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20211203-0002/Third Party Advisory
- https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-ovExploitThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/10/msg00026.htmlMailing ListThird Party Advisory
- https://security.netapp.com/advisory/ntap-20211203-0002/Third Party Advisory
- https://ssd-disclosure.com/ssd-advisory-linux-bluez-information-leak-and-heap-ovExploitThird Party Advisory
FAQ
What is CVE-2019-8922?
CVE-2019-8922 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2019-8922?
CVE-2019-8922 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-8922?
Check the references section above for vendor advisories and patch information. Affected products include: Bluez Bluez, Linux Linux Kernel, Debian Debian Linux.