CVE-2024-28183

Anti Rollback bypass with physical access and TOCTOU attack

State
Published
Severity
6.1 Medium
Published
Mar 25, 2024
Updated
Aug 2, 2024
Reserved
Mar 6, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NGitHub_M

Weaknesses

  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

Affected Products

ProductVersions
esp-idfespressif
  • < 4.4.7Affected
  • >= 5.0, <= 5.0.6Affected
  • >= 5.1, <= 5.1.3Affected
  • >= 5.2, < 5.2.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.