Advisory

GHSA-48mj-p7x2-5jfm

Also known as: CVE-2021-41104, PYSEC-2021-351

Summary

Basic auth bypass in esphome

Details

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

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-29 17:09 UTC
Modified
2026-05-04 08:45 UTC

Affected packages and fixes

esphome

PyPI · All systems

Affected

  • introduced 0, fixed 2021.9.2 (ecosystem)

Fixed versions

2021.9.2

Fix

  • Fixed version 2021.9.2
    pip install --upgrade esphome==2021.9.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences