CVE-2018-21019:
Home Assistant information disclosure vulnerability
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78985%
CWE
Published
5/24/2022
Updated
9/20/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
homeassistant | pip | < 0.67.0 | 0.67.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from the insecure registration of the error log endpoint in api.py. The pre-patch code (vulnerable versions) used register_static_path with no authentication, while the fix introduced an authenticated view (APIErrorLog). The setup function's conditional block (if log_path:) directly enabled the insecure endpoint, making it the root cause. The commit diff and CWE-200 context confirm this was an authentication bypass issue.