Espressif ESP-IDF
cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*
- < 5.4.1
- < 5.3.3
- < 5.1.6
- < 5.0.9
A memory overflow vulnerability has been identified in the BluFi example of the Espressif Internet of Things Development Framework (ESP-IDF). This vulnerability affects Wi-Fi credential handling and the Diffie-Hellman key exchange process. The issue arises from improper validation of input lengths when copying data, which can lead to buffer overflows and potential memory corruption.
The vulnerability allows for memory overflows in global memory, which could be exploited to corrupt memory or cause unexpected behavior. This includes overwriting memory locations, potentially leading to arbitrary code execution or causing the device to crash.
The vulnerability can be reproduced by using the BluFi example in ESP-IDF and sending Wi-Fi credentials or Diffie-Hellman parameters that exceed the expected lengths. This can be done by modifying the example to include longer strings or by using a tool to send oversized payloads during the Bluetooth provisioning process.
Users can upgrade to the patched versions of ESP-IDF, which include the necessary fixes for this vulnerability. Instructions for upgrading can be found in the Espressif documentation.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.