CVE-2024-53845

Vulnérabilité moyenne dans esp-idf (espressif)

CVSS 6.6 · Moyenne
EPSS 0.6%
espressif•esp-idf•Versions : >= 5.1.0, < 5.1.6, >= 5.2.0, < 5.2.4, >= 5.3.0, < 5.3.2, < 5.0.8

Description

ESPTouch is a connection protocol for internet of things devices. In the ESPTouchV2 protocol, while there is an option to use a custom AES key, there is no option to set the IV (Initialization Vector) prior to versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. The IV is set to zero and remains constant throughout the product's lifetime. In AES/CBC mode, if the IV is not properly initialized, the encrypted output becomes deterministic, leading to potential data leakage. To address the aforementioned issues, the application generates a random IV when activating the AES key starting in versions 5.3.2, 5.2.4, 5.1.6, and 5.0.8. This IV is then transmitted along with the provision data to the provision device. The provision device has also been equipped with a parser for the AES IV. The upgrade is applicable for all applications and users of ESPTouch v2 component from ESP-IDF. As it is implemented in the ESP Wi-Fi stack, there is no workaround for the user to fix the application layer without upgrading the underlying firmware.

Gravité et risque d'exploitation

CVE-2024-53845 obtient un score CVSS de 6.6/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 0.60 %, ce qui la place devant 47.5 % des CVE référencées.

Que faire ?

  • Vérifiez si esp-idf (versions >= 5.1.0, < 5.1.6, >= 5.2.0, < 5.2.4, >= 5.3.0, < 5.3.2, < 5.0.8) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références