CVE-2024-28183: Anti Rollback bypass with physical access and TOCTOU attack

Published Mar 25, 2024
·
Updated

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.

Affected Software

5 affected components
Espressif ESP-IDF>4.4.0<=4.4.6, >5.0.0<5.2.0
Espressif ESP-IDF=4.4.6
Espressif ESP-IDF=5.0.6
Espressif ESP-IDF=5.1.3
Espressif ESP-IDF=5.2

Event History

Mar 25, 2024
CVE Published
via MITRE·02:31 PM
Data Sourced
via MITRE·02:31 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-28183?

CVE-2024-28183 has a medium severity due to its potential impact on device security with physical access.

2

How do I fix CVE-2024-28183?

To fix CVE-2024-28183, update the ESP-IDF framework to versions 4.4.7, 5.0.1 or later.

3

What type of vulnerability is CVE-2024-28183?

CVE-2024-28183 is a Time-of-Check to Time-of-Use (TOCTOU) vulnerability.

4

Who is affected by CVE-2024-28183?

CVE-2024-28183 affects users of Espressif ESP-IDF versions between 4.4.0 and 4.4.6, and 5.0.0 and 5.2.0.

5

What are the potential risks associated with CVE-2024-28183?

The risks associated with CVE-2024-28183 include unauthorized access to the device bootloader and potential modification of the device firmware.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203