mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Bluedroid: Fixes for some vulnerabilities.
This commit fixes 'Impersonation in Passkey entry protocol' (CVE-2020-26558) and suggests fixes for other vulnerabilites like 'Impersonation in the Pin Pairing Protocol' (CVE-2020-26555) and 'Authentication of the LE Legacy Pairing Protocol' CVE-2020-26558 can be easily implemented if the peer device can impersonate our public key. This commit adds a check by comparing our and received public key and returns failed pairing if keys are same. This commit also adds comments suggesting to use secure connection when supported by all devices.
This commit is contained in:
1300
components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h
Normal file
1300
components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h
Normal file
File diff suppressed because it is too large
Load Diff
2187
components/bt/host/bluedroid/stack/smp/smp_act.c
Normal file
2187
components/bt/host/bluedroid/stack/smp/smp_act.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user