Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Espressif | Esp-Idf | >= 2.0, < 3.0.6 |
Related Weaknesses (CWE)
References
- https://github.com/espressif/esp-idf/releasesRelease NotesThird Party Advisory
- https://www.espressif.com/en/news/Espressif_Product_Security_Advisory_Concerning
- https://github.com/espressif/esp-idf/releasesRelease NotesThird Party Advisory
- https://www.espressif.com/en/news/Espressif_Product_Security_Advisory_Concerning
FAQ
What is CVE-2018-18558?
CVE-2018-18558 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 t...
How severe is CVE-2018-18558?
CVE-2018-18558 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-18558?
Check the references section above for vendor advisories and patch information. Affected products include: Espressif Esp-Idf.