Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

SDK 17.1.0 - NRF_BLE_LESC_GENERATE_NEW_KEYS

Hello,

With nRF5 SDK 17.1.0 release a new ifdef NRF_BLE_LESC_GENERATE_NEW_KEYS in nrf_ble_lesc.c has been added.
Could you please clarify what the intention is of this generating a new key pair for each BLE_GAP_EVT_AUTH_STATUS is?
Does this somehow affect CVE-2020-26558?

Parents Reply
  • Hello! 

    Sorry, it seems I was mistaken. The CVE-2020-26558 security fix is being addressed on line 358.

     

    RenderMonkey said:
    Is it for the highly unlikely case when two units attempt to bond and happen to have the same public key?

    Yeah I think you are right. The ifdef NRF_BLE_LESC_GENERATE_NEW_KEYS snippet is likely there to avoid the scenario where two devices have the same public key. It is optional because an exception is needed for the NFC library (this library generates LESC keys itself after every pairing attempt).

    Best regards,

    Elfving

Children
Related