{"api_version":"1","generated_at":"2026-04-23T05:15:49+00:00","cve":"CVE-2021-41104","urls":{"html":"https://cve.report/CVE-2021-41104","api":"https://cve.report/api/cve/CVE-2021-41104.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-41104","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-41104"},"summary":{"title":"CVE-2021-41104","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`.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-09-28 16:15:00","updated_at":"2021-10-07 14:13:00"},"problem_types":["CWE-306"],"metrics":[],"references":[{"url":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm","name":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm","refsource":"CONFIRM","tags":[],"title":"web_server allows OTA update without checking user defined basic auth username & password · Advisory · esphome/esphome · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e","name":"https://github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e","refsource":"MISC","tags":[],"title":"Fix lint issues in web_server_base by jesserockz · Pull Request #2409 · esphome/esphome · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/esphome/esphome/releases/tag/2021.9.2","name":"https://github.com/esphome/esphome/releases/tag/2021.9.2","refsource":"MISC","tags":[],"title":"Release 2021.9.2 · esphome/esphome · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-41104","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-41104","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"41104","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"esphome","cpe5":"esphome_firmware","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41104","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"h","cpe4":"espressif","cpe5":"esp32","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"41104","vulnerable":"-1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"h","cpe4":"espressif","cpe5":"esp8266","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-41104","qid":"980635","title":"Python (pip) Security Update for esphome (GHSA-48mj-p7x2-5jfm)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-41104","STATE":"PUBLIC","TITLE":"web_server allows OTA update without checking user defined basic auth username & password"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"esphome","version":{"version_data":[{"version_value":"< 2021.9.2"}]}}]},"vendor_name":"esphome"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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`."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-306: Missing Authentication for Critical Function"}]}]},"references":{"reference_data":[{"name":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm","refsource":"CONFIRM","url":"https://github.com/esphome/esphome/security/advisories/GHSA-48mj-p7x2-5jfm"},{"name":"https://github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e","refsource":"MISC","url":"https://github.com/esphome/esphome/pull/2409/commits/207cde1667d8c799a197b78ca8a5a14de8d5ca1e"},{"name":"https://github.com/esphome/esphome/releases/tag/2021.9.2","refsource":"MISC","url":"https://github.com/esphome/esphome/releases/tag/2021.9.2"}]},"source":{"advisory":"GHSA-48mj-p7x2-5jfm","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-09-28 16:15:00","lastModifiedDate":"2021-10-07 14:13:00","problem_types":["CWE-306"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"AND","children":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:esphome:esphome_firmware:*:*:*:*:*:*:*:*","versionEndExcluding":"2021.9.2","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":false,"cpe23Uri":"cpe:2.3:h:espressif:esp32:-:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":false,"cpe23Uri":"cpe:2.3:h:espressif:esp8266:-:*:*:*:*:*:*:*","cpe_name":[]}]}],"cpe_match":[]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"41104","Ordinal":"216988","Title":"CVE-2021-41104","CVE":"CVE-2021-41104","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"41104","Ordinal":"1","NoteData":"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`.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"41104","Ordinal":"2","NoteData":"2021-09-28","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"41104","Ordinal":"3","NoteData":"2021-09-28","Type":"Other","Title":"Modified"}]}}}