Bug 2020523 (CVE-2021-43400)

Summary: CVE-2021-43400 bluez: use-after-free in gatt-database.c
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, bnocera, darcari, dwmw2, dzickus, gtiwari, hwkernel-mgr, pbrobinson, spacewar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: bluez 5.62 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-12 14:34:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2020524    
Bug Blocks: 2020525    

Description Marian Rehak 2021-11-05 08:08:38 UTC
A use-after-free in gatt-database.c can occur when a client disconnects during D-Bus processing of a WriteValue call.

External Reference:

https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=838c0dc7641e1c991c0f3027bf94bee4606012f8

Comment 1 Marian Rehak 2021-11-05 08:08:55 UTC
Created bluez tracking bugs for this issue:

Affects: fedora-all [bug 2020524]

Comment 2 juneau 2021-11-05 11:51:31 UTC
Marking services "notaffected" as this issue is specific to Bluetooth.

Comment 3 Peter Robinson 2021-11-30 11:33:23 UTC
Fixed in Fedora over a month ago with bluez-5.62-1.fc34  bluez-5.62-1.fc35

Comment 4 devthomp 2022-01-12 13:20:55 UTC
Bug is relevant to 5.61 none of our products (besides fedora) ship this version.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-43400

Comment 5 Product Security DevOps Team 2022-01-12 14:34:45 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-43400