Vulnerability · Published Sep 28, 2021 · Assigned by GitHub_M

CVE-2021-41104web_server allows OTA update without checking user defined basic auth username & password

High 7.5

In plain English

A high-severity missing authentication in esphome from esphome. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 69% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)1.2%top 31.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIesphome2021.9.2GHSA-48mj-p7x2-5jfm
PyPIesphome2021.9.2PYSEC-2021-351

Affected products (as reported)

VendorProductVersions
esphome esphome < 2021.9.2

Weakness: CWE-306 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References