Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. esphome
  4. ›
  5. CVE-2021-41104

CVE-2021-41104: Basic auth bypass in esphome

September 29, 2021 (updated September 20, 2024)

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. Learn more about Dependency Scanning →

Affected versions

All versions before 2021.9.2

Fixed versions

  • 2021.9.2

Solution

Upgrade to version 2021.9.2 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-306: Missing Authentication for Critical Function

Source file

pypi/esphome/CVE-2021-41104.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:41 +0000.