CVE-2021-41104
Esphome Firmware vulnerability
ESPHome is a system to control the ESP8266/ESP32. Anyone with web_server enabled and HTTP basic auth configured on version 2021.9.1 or older is vulnerable to an issue in which `web_server` allows over-the-air (OTA) updates without checking user defined basic auth username & password. This issue is patched in version 2021.9.2. As a workaround, one may disable or remove `web_server`.
Affected products
Esphome Firmware. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Esphome Firmware runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e · Patch
- github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm · Patch
- github.com/esphome/esphome/releases/tag/2021.9.2 · Third Party Advisory
- github.com/esphome/esphome/commit/be965a60eba6bb769e2a5afdbc8eed132f077a59
- nvd.nist.gov/vuln/detail/CVE-2021-41104
- github.com/esphome/esphome/pull/2409
- github.com/esphome/esphome/commit/2234f6aacf8cc653307fed80f3750317a82c4f83
- github.com/pypa/advisory-database/tree/main/vulns/esphome/PYSEC-2021-351.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-41104
- cve.org/CVERecord?id=CVE-2021-41104
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.