CVE-2024-53845: AES/CBC Constant IV Vulnerability in ESPTouch v2
espressif · esp-idf
Affected: espressif esp-idf · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 49% of scored CVEs
DescriptionCVE.org
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.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- espressif · esp-idf>= 5.3.0, < 5.3.2; >= 5.2.0, < 5.2.4; >= 5.1.0, < 5.1.6; < 5.0.8
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- espressif
- Published
- December 2024
CoverageNo articles yet
No CyberSIXT article names CVE-2024-53845 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-327cwe.mitre.org
- github.com/espressif/esp-idf/security/advisories/GHSA-wm57-466g-github.com
- github.com/espressif/esp-idf/commit/4f85a2726e04b737c8646d865b44github.com
- github.com/espressif/esp-idf/commit/8fb28dcedcc49916a5206456a3a6github.com
- github.com/espressif/esp-idf/commit/d47ed7d6f814e21c5bc8997ab0bcgithub.com
- github.com/espressif/esp-idf/commit/de69895f38d563e22228f5ba23ffgithub.com
- github.com/espressif/esp-idf/commit/fd224e83bbf133833638b277c767github.com
- github.com/EspressifApp/EsptouchForAndroid/tree/master/esptouch-github.com
- github.com/EspressifApp/EsptouchForIOS/tree/master/EspTouchDemo/github.com
- github.com/espressif/esp-idf/tree/master/components/esp_wifigithub.com