Bug 1401527 (CVE-2016-9800)

Summary: CVE-2016-9800 bluez: buffer overflow in pin_code_reply_dump()
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dwmw2, dwmw2, dzickus
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 03:03:08 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: 1401549    
Bug Blocks:    

Description Martin Prpič 2016-12-05 14:06:40 UTC
A buffer overflow was found in the pin_code_reply_dump() function in tools/parser/hci.c source file of bluez. The issue exists because pin array is overflowed by supplied parameter due to lack of boundary checks on size of the buffer from frame pin_code_reply_cp *cp parameter.

Original report:

https://www.spinics.net/lists/linux-bluetooth/msg68892.html

Comment 1 Martin Prpič 2016-12-05 14:40:45 UTC
Created bluez-hcidump tracking bugs for this issue:

Affects: fedora-all [bug 1401549]