It has come to our attention that certain custom integrations have security issues and could potentially leak sensitive information. Home Assistant is not responsible for custom integrations and you use custom integrations at your own risk.
The latest version of Home Assistant has extra protection to help secure your instance.
Update your Home Assistant instance as soon as possible.
To update Home Assistant, click on the Supervisor menu item to see if an update to 2021.1.3 (or newer) is available. If you do not see such an update yet, in the Supervisor, click on the System tab and click the “Reload” button at the bottom of the Supervisor card. After reloading the update should become available.
If you don’t have the Supervisor menu item, follow the update instructions.
If you cannot update Home Assistant at this time, we strongly advise you to disable all custom integrations. You can disable your custom integrations by renaming the custom_components folder inside your Home Assistant configuration folder to something else. Please be sure to restart Home Assistant after you’ve renamed it.
If you need additional help with upgrading, we are happy to help you out on our Discord chat server.
People asked for more information. We are currently investigating the scope of the issue. We will follow up with more details. Meanwhile, update Home Assistant.
Despite for not seeing anything except “Filter” in PR - maybe it’s time to stop and think about getting HA a little bit of pentest?
Some opensource projects do such thing, this could also be crowdfounded if costs are too high.
I’m sure there would be plenty of us to have more comfort about having whole house and credentials in one place - properly tested by proffesionals? (I’m not one).
This post is not about an issue with Home Assistant. This is about an issue with custom components that users choose to add to their own installation. Code which is not reviewed by the Home Assistant Core team.
Yeah, but anyway it has made me stop and think - I think it’s worth considering by HA Core team too (or just have it through broader discussion?)
Just an idea. There are some OS projects that have security in mind and got tested for it too (like Signal). I’d love to put some euros on it too.
Is this update going to inhibit any custom_components from working at all? I don’t want to cook my system as I rely on my custom_components working…
Looking at the commit, I would say that all (ok, most) legit custom components will be fine. It seems to be protecting against a custom component do a few select (suspicious) things. This is the tests for the new security logic, anything matching would be flagged:
Anything making a request with that (basic) security vuln tests.
Custom components already have a lot more permissions and don’t need to attack HA via http requests…
There’s some new logic to log (and prevent?) “request[s] and block commonly known exploit attempts”
I imagine someone found a custom_component out there acting in bad faith. We should wait for their official update; so far the HA team has handled these well imo and I appreciate this warning going up while they investigate further.
That is my standard procedure but I’m currently away from home so reluctant to risk the update. On top of everything else HA waters my garden and it’s hot in Perth this week!
4 Likes
Tinkerer
(aka DubhAd on GitHub)
Split this topic
21
To update Home Assistant, click on the Supervisor menu item
Do you mean Hass.io? I’m so confused. There’s a big issue with the naming of different parts of this project that needs to be resolved. The name “Home Assistant” is ambiguous. It can refer to the core project or to the entire distribution. The main web site is not perfectly clear about that too. A first-time visitor may think that they need a Raspberry Pi to use Home Assistant. In reality there are many different distributions that include different components and operate slightly differently. For example, I use a Home Assistant docker container on my NAS that doesn’t have a supervisor.