CVE-2024-28183

Anti Rollback bypass with physical access and TOCTOU attack

Published Mar 25, 2024 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
ESP-IDF is the development framework for Espressif SoCs supported on Windows, Linux and macOS. A Time-of-Check to Time-of-Use (TOCTOU) vulnerability was discovered in the implementation of the ESP-IDF bootloader which could allow an attacker with physical access to flash of the device to bypass anti-rollback protection. Anti-rollback prevents rollback to application with security version lower than one programmed in eFuse of chip. This attack can allow to boot past (passive) application partition having lower security version of the same device even in the presence of the flash encryption scheme. The attack requires carefully modifying the flash contents after the anti-rollback checks have been performed by the bootloader (before loading the application). The vulnerability is fixed in 4.4.7 and 5.2.1.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-25308 ESP-IDF is the development framework for Espressif SoCs supported on Windows, Linux and macOS. A Time-of-Check to Time-of-Use (TOCTOU) vulnerability was discovered in the implementation of the ESP-IDF bootloader which could allow an attacker with physical access to flash of the device to bypass anti-rollback protection. Anti-rollback prevents rollback to application with security version lower than one programmed in eFuse of chip. This attack can allow to boot past (passive) application partition having lower security version of the same device even in the presence of the flash encryption scheme. The attack requires carefully modifying the flash contents after the anti-rollback checks have been performed by the bootloader (before loading the application). The vulnerability is fixed in 4.4.7 and 5.2.1.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:espressif:esp-idf:4.4.6:*:*:*:*:*:*:*
cpe:2.3:a:espressif:esp-idf:5.0.6:*:*:*:*:*:*:*
cpe:2.3:a:espressif:esp-idf:5.1.3:*:*:*:*:*:*:*
cpe:2.3:a:espressif:esp-idf:5.2:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 12:48 AM
Reserved
Mar 6, 2024, 5:35 PM
Status
Analyzed
Published
Mar 25, 2024, 3:15 PM
Modified
Jun 17, 2026, 7:21 AM