CVE-2018-18558

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
13/05/2019
Last modified:
07/11/2023

Description

An issue was discovered in Espressif ESP-IDF 2.x and 3.x before 3.0.6 and 3.1.x before 3.1.1. Insufficient validation of input data in the 2nd stage bootloader allows a physically proximate attacker to bypass secure boot checks and execute arbitrary code, by crafting an application binary that overwrites a bootloader code segment in process_segment in components/bootloader_support/src/esp_image_format.c. The attack is effective when the flash encryption feature is not enabled, or if the attacker finds a different vulnerability that allows them to write this binary to flash memory.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:* 2.0 (including) 3.0.6 (excluding)
cpe:2.3:a:espressif:esp-idf:*:*:*:*:*:*:*:* 3.1 (including) 3.1.1 (including)