-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Description
Describe the bug
MbedTLS 3.6.3 now mandates servername checking unless explicitly disabled and this causes TLS handshake to fail, see https://github.com/Mbed-TLS/mbedtls/releases/tag/mbedtls-3.6.3.
A temporary WAR #88679 to disable this has been raised, but this is a security loophole, we need to implement this in the hostap. Which already supports https://github.com/zephyrproject-rtos/hostap/blob/main/wpa_supplicant/wpa_supplicant.conf#L1329 (domain_suffix_match) option and this needs to be plumbed down till MbedTLS.
To Reproduce
Steps to reproduce the behavior:
- Build and Run
wifi-enterprisesnippet insamples/net/wifi/shellon a nRF7002DK board - Test EAP-TLS
- Handshake fails without the above PR (WAR)
Expected behavior
TLS should pass but also in a secure way (not with the WAR)
Impact
Security vulnerability.
Logs and console output
NA
Environment (please complete the following information):
- OS: Linux
- Toolchain: Zephyr SDK
- Commit SHA or Version used: Latest main 86293eb
Additional context
NA
Metadata
Metadata
Assignees
Labels
Type
Projects
Status