CVE-2018-21019: Homeassistant Home Assistant Information Disclosure Vulnerability Vulnerability
HIGHCVE-2018-21019 is a HIGH (CVSS 7.5) home assistant information disclosure vulnerability vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Homeassistant libraries in the PyPI ecosystem. The issue involves home assistant information disclosure vulnerability. Remediation is available by upgrading affected packages to version 0.67.0.
CVE-2018-21019 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2018-21019
To remediate this vulnerability, upgrade all affected Homeassistant dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install homeassistant>=0.67.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show homeassistant
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2018-21019, inspect your installed packages using pip:
pip show homeassistant
Analyze the terminal output to locate any version of Homeassistant in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.67.0), your application is affected.
Note: The pip show homeassistant command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Homeassistant, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-21019 Affected Homeassistant Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
homeassistant
|
PyPI |
< 0.67.0
|
0.67.0
|
References
Frequently Asked Questions
What is CVE-2018-21019?
Which Homeassistant versions are affected?
What version fixes CVE-2018-21019?
Is homeassistant affected?
What is the CVSS score of CVE-2018-21019?
What CWE is associated with CVE-2018-21019?
How can I check PyPI dependencies for CVE-2018-21019?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mh78-8f49-vjg3",
"modified" : "2024-09-20T21:20:38Z",
"published" : "2022-05-24T16:56:39Z",
"aliases" : [ "CVE-2018-21019" ],
"summary" : "Home Assistant information disclosure vulnerability",
"details" : "Home Assistant before 0.67.0 was vulnerable to an information disclosure that allowed an unauthenticated attacker to read the application's error log via components/api.py.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "homeassistant"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.67.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-21019"
}, {
"type" : "WEB",
"url" : "https://github.com/home-assistant/core/pull/13836"
}, {
"type" : "WEB",
"url" : "https://github.com/home-assistant/home-assistant/pull/13836"
}, {
"type" : "WEB",
"url" : "https://github.com/home-assistant/core/commit/598f093bf0fecdefaa3d95d1ddae71317a05321e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/home-assistant/core"
}, {
"type" : "WEB",
"url" : "https://github.com/home-assistant/core/releases/tag/0.67.0"
}, {
"type" : "WEB",
"url" : "https://github.com/home-assistant/home-assistant/releases/tag/0.67.0"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/homeassistant/PYSEC-2019-221.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-29T09:52:27Z",
"nvd_published_at" : "2019-09-23T16:15:00Z"
}
}