CVE-2024-53845

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53845
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53845.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53845
Aliases
  • GHSA-wm57-466g-mhrr
Published
2024-12-12T02:15:29Z
Modified
2025-01-08T16:27:14.250056Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/espressif/esp-idf

Affected ranges

Type
GIT
Repo
https://github.com/espressif/esp-idf
Events

Affected versions

v0.*

v0.9

v1.*

v1.0

v2.*

v2.0-rc1
v2.1-rc1

v3.*

v3.0-dev
v3.1-beta1
v3.1-dev
v3.2-beta1
v3.2-dev
v3.3-beta1
v3.3-beta2
v3.3-dev

v4.*

v4.0-dev
v4.1-dev
v4.2-dev
v4.3-beta1
v4.3-dev
v4.4-dev

v5.*

v5.0
v5.0-beta1
v5.0-dev
v5.0-rc1
v5.0.1
v5.0.2
v5.0.3
v5.0.4
v5.0.5
v5.0.6
v5.0.7
v5.1
v5.1-beta1
v5.1-dev
v5.1-rc1
v5.1-rc2
v5.1.1
v5.1.2
v5.1.3
v5.1.4
v5.1.5
v5.2
v5.2-beta1
v5.2-beta2
v5.2-dev
v5.2-rc1
v5.2.1
v5.2.2
v5.2.3
v5.3
v5.3-beta1
v5.3-beta2
v5.3-dev
v5.3-rc1
v5.3.1
v5.4-dev
v5.5-dev