GitHub Advisoryadvisory · PyPI
GHSA-48mj-p7x2-5jfm Basic auth bypass in esphome
HIGH
Official page ↗
- Aliases
- CVE-2021-41104
- Ecosystem
- PyPI
- Packages
- esphome
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-306
- Reviewed
- 2021-09-28
Affected packages
• PyPI esphome: < 2021.9.2 → fixed in 2021.9.2
Description
Impact
Anyone with web_server enabled and HTTP basic auth configured on 2021.9.1 or older
`web_server` allows OTA update without checking user defined basic auth username & password
Patches
Patch released in 2021.9.2
Workarounds
Disable/remove `web_server`
Related
Alias · CVE (1)
- CVE-2021-41104 ESPHome is a system to control the ESP8266/ESP32. vulnerability
Weakness · CWE (1)
- CWE-306 Missing Authentication for Critical Functionality weakness
References
- https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm web
- https://nvd.nist.gov/vuln/detail/CVE-2021-41104 advisory
- https://github.com/esphome/esphome/pull/2409 web
- https://github.com/esphome/esphome/commit/2234f6aacf8cc653307fed80f3750317a82c4f83 web
- https://github.com/esphome/esphome/commit/be965a60eba6bb769e2a5afdbc8eed132f077a59 web
- https://github.com/esphome/esphome package
- https://github.com/esphome/esphome/releases/tag/2021.9.2 web
- https://github.com/pypa/advisory-database/tree/main/vulns/esphome/PYSEC-2021-351.yaml web