CVE-2024-53845

AES/CBC Constant IV Vulnerability in ESPTouch v2

MEDIUM
6.6
CVSS Score
Published: December 11, 2024 at 10:35 PM UTC
Updated: June 17, 2026 at 08:09 AM UTC
1 product affected across 1 vendorEsp Idf

Using esp-idf by espressif?

Get instant alerts when new vulnerabilities affect esp-idf - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.6
Exploit prediction
EPSS 0.6%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.0.8v < 5.1.6v < 5.2.4v < 5.3.2
Affected range stops below 5.0.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.6, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.2.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.3.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.6MEDIUMGitHub_M
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-327CWE-909

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card