CVE-2021-41104: Basic auth bypass in esphome
(updated )
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
References
- github.com/advisories/GHSA-48mj-p7x2-5jfm
- github.com/esphome/esphome
- github.com/esphome/esphome/commit/2234f6aacf8cc653307fed80f3750317a82c4f83
- github.com/esphome/esphome/commit/be965a60eba6bb769e2a5afdbc8eed132f077a59
- github.com/esphome/esphome/pull/2409
- github.com/esphome/esphome/releases/tag/2021.9.2
- github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm
- github.com/pypa/advisory-database/tree/main/vulns/esphome/PYSEC-2021-351.yaml
- nvd.nist.gov/vuln/detail/CVE-2021-41104
Code Behaviors & Features
Detect and mitigate CVE-2021-41104 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →