Improper input validation in Espressif Esp-Idf

CVE-2018-18558

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.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.004 (31.7th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2018-18558?
CVE-2018-18558 is a medium-severity vulnerability in Espressif Esp-Idf, classified under Improper Input Validation. CVSS score: 6.4/10. Published 2019-05-13.
How severe is CVE-2018-18558?
Medium severity. CVSS v3 base score is 6.4 out of 10.