You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "guy-m (via GitHub)" <gi...@apache.org> on 2026/04/07 13:43:39 UTC

[PR] host/sm: Reject Legacy JW pairing confirmation reflection attack [mynewt-nimble]

guy-m opened a new pull request, #2201:
URL: https://github.com/apache/mynewt-nimble/pull/2201

   When the responder mirrors the initiator's confirm and random values
   (Sconfirm=Mconfirm, Srand=Mrand), the c1 check passes trivially,
   bypassing mismatch detection and causing an
   HCI encryption failure (0x06) instead of Pairing Failed (0x04).
   
   Detect Srand==Mrand in ble_sm_lgcy_random_rx and abort with
   BLE_SM_ERR_CONFIRM_MISMATCH.
   
   Fixes SM/CEN/JW/BI-06-C and SM/CEN/PKE/BI-03-C


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] host/sm: Reject Legacy pairing confirm reflection attack [mynewt-nimble]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #2201:
URL: https://github.com/apache/mynewt-nimble/pull/2201


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org