p PatchFirst

CVE-2025-25305

CVE-2025-25305 · SSL validation for outgoing requests in Home Assistant Core and used libs not correct

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

Home Assistant Core is an open source home automation that puts local control and privacy first. Affected versions are subject to a potential man-in-the-middle attacks due to missing SSL certificate verification in the project codebase and used third-party libraries. In the past, `aiohttp-session`/`request` had the parameter `verify_ssl` to control SSL certificate verification. This was a boolean value. In `aiohttp` 3.0, this parameter was deprecated in favor of the `ssl` parameter. Only when `ssl` is set to `None` or provided with a correct configured SSL context the standard SSL certificate verification will happen. When migrating integrations in Home Assistant and libraries used by Home Assistant, in some cases the `verify_ssl` parameter value was just moved to the new `ssl` parameter. This resulted in these integrations and 3rd party libraries using `request.ssl = True`, which unintentionally turned off SSL certificate verification and opened up a man-in-the-middle attack vector. This issue has been addressed in version 2024.1.6 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS 7.0 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: python

Affected products and versions

  • core

    Versions
    • < 2024.1.6: Affected

    No fix published

  • homeassistant PyPI

    Versions
    • 0.10.0
    • 0.10.1
    • 0.100.0
    • 0.100.0b0
    • 0.100.0b1
    • 0.100.0b2
    • 0.100.0b3
    • 0.100.1
    • 0.100.2
    • 0.100.3
    • 0.101.0
    • 0.101.0b0
    • 0.101.0b1
    • 0.101.0b2
    • 0.101.0b3
    • 0.101.0b4
    • 0.101.1
    • 0.101.2
    • 0.101.3
    • 0.102.0
    • 0.102.0b0
    • 0.102.0b1
    • 0.102.0b2
    • 0.102.0b3
    • 0.102.1
    • 0.102.2
    • 0.102.3
    • 0.103.0
    • 0.103.0b0
    • 0.103.0b1
    • 0.103.1
    • 0.103.2
    • 0.103.3
    • 0.103.4
    • 0.103.5
    • 0.103.6
    • 0.104.0
    • 0.104.0b0
    • 0.104.0b1
    • 0.104.0b2
    • 0.104.0b3
    • 0.104.0b4
    • 0.104.0b5
    • 0.104.1
    • 0.104.2
    • 0.104.3
    • 0.105.0
    • 0.105.0b0
    • 0.105.0b5
    • 0.105.0b6
    • 0.105.0b7
    • 0.105.1
    • 0.105.2
    • 0.105.3
    • 0.105.4
    • 0.105.5
    • 0.106.0
    • 0.106.0b0
    • 0.106.0b5
    • 0.106.1
    • 0.106.2
    • 0.106.3
    • 0.106.4
    • 0.106.5
    • 0.106.6
    • 0.107.0
    • 0.107.0b0
    • 0.107.0b1
    • 0.107.0b2
    • 0.107.0b3
    • 0.107.0b4
    • 0.107.0b5
    • 0.107.0b8
    • 0.107.1
    • 0.107.2
    • 0.107.3
    • 0.107.4
    • 0.107.5
    • 0.107.6
    • 0.107.7
    • 0.108.0
    • 0.108.0b0
    • 0.108.0b1
    • 0.108.0b2
    • 0.108.0b3
    • 0.108.0b4
    • 0.108.0b5
    • 0.108.0b6
    • 0.108.1
    • 0.108.2
    • 0.108.3
    • 0.108.4
    • 0.108.5
    • 0.108.6
    • 0.108.7
    • 0.108.8
    • 0.108.9
    • 0.109.0
    • 0.109.0b0
    • 0.109.0b4
    • 0.109.0b5
    • 0.109.1
    • 0.109.2
    • 0.109.3
    • 0.109.4
    • 0.109.5
    • 0.109.6
    • 0.11.0
    • 0.11.1
    • 0.110.0
    • 0.110.0b0
    • 0.110.0b1
    • 0.110.0b2
    • 0.110.0b3
    • 0.110.0b4
    • 0.110.0b5
    • 0.110.1
    • 0.110.2
    • 0.110.3
    • 0.110.4
    • 0.110.5
    • 0.110.6
    • 0.110.7
    • 0.111.0
    • 0.111.0b0
    • 0.111.0b1
    • 0.111.0b2
    • 0.111.0b3
    • 0.111.0b4
    • 0.111.0b5
    • 0.111.1
    • 0.111.2
    • 0.111.3
    • 0.111.4
    • 0.112.0
    • 0.112.0b0
    • 0.112.0b1
    • 0.112.0b2
    • 0.112.0b3
    • 0.112.0b4
    • 0.112.1
    • 0.112.2
    • 0.112.3
    • 0.112.4
    • 0.112.5
    • 0.113.0
    • 0.113.0b0
    • 0.113.0b1
    • 0.113.0b2
    • 0.113.0b3
    • 0.113.1
    • 0.113.2
    • 0.113.3
    • 0.114.0
    • 0.114.0b0
    • 0.114.0b1
    • 0.114.0b2
    • 0.114.0b3
    • 0.114.0b4
    • 0.114.1
    • 0.114.2
    • 0.114.3
    • 0.114.4
    • 0.115.0
    • 0.115.0b0
    • 0.115.0b1
    • 0.115.0b10
    • 0.115.0b11
    • 0.115.0b12
    • 0.115.0b2
    • 0.115.0b3
    • 0.115.0b4
    • 0.115.0b5
    • 0.115.0b6
    • 0.115.0b7
    • 0.115.0b8
    • 0.115.0b9
    • 0.115.1
    • 0.115.2
    • 0.115.3
    • 0.115.4
    • 0.115.5
    • 0.115.6
    • 0.116.0
    • 0.116.0b0
    • 0.116.0b1
    • 0.116.0b2
    • 0.116.0b3
    • 0.116.0b4
    • 0.116.0b5
    • 0.116.1
    • 0.116.2
    • 0.116.3
    • 0.116.4
    • 0.117.0
    • 0.117.0b0
    • 0.117.0b1
    • 0.117.0b2
    • 0.117.0b3
    • 0.117.0b4
    • 0.117.0b5
    • 0.117.0b6
    • 0.117.1
    • 0.117.2
    • 0.117.3
    • 0.117.4
    • 0.117.5
    • 0.117.6
    • 0.118.0
    • 0.118.0b0
    • 0.118.0b1
    • 0.118.0b2
    • 0.118.0b3
    • 0.118.1
    • 0.118.2
    • 0.118.3
    • 0.118.4
    • 0.118.5
    • 0.12.0
    • 0.13.0
    • 0.13.1
    • 0.14.0
    • 0.14.1
    • 0.14.2
    • 0.15.0
    • 0.16.0
    • 0.16.1
    • 0.17.0
    • 0.17.1
    • 0.17.2
    • 0.17.3
    • 0.18.0
    • 0.18.2
    • 0.19
    • 0.19.1
    • 0.19.2
    • 0.19.3
    • 0.19.4
    • 0.20.0
    • 0.20.1
    • 0.20.2
    • 0.20.3
    • 0.21.0
    • 0.21.1
    • 0.21.2
    • 0.22.0
    • 0.22.1
    • 0.23.0
    • 0.23.1
    • 0.24.0
    • 0.24.1
    • 0.25.0
    • 0.25.1
    • 0.25.2
    • 0.26.0
    • 0.26.1
    • 0.26.2
    • 0.26.3
    • 0.27.0
    • 0.27.1
    • 0.27.2
    • 0.28.0
    • 0.28.1
    • 0.28.2
    • 0.29.0
    • 0.29.1
    • 0.29.2
    • 0.29.3
    • 0.29.4
    • 0.29.5
    • 0.29.6
    • 0.29.7
    • 0.30.0
    • 0.30.1
    • 0.30.2
    • 0.31.0
    • 0.31.1
    • 0.32.0
    • 0.32.1
    • 0.32.2
    • 0.32.3
    • 0.32.4
    • 0.33.0
    • 0.33.1
    • 0.33.2
    • 0.33.3
    • 0.33.4
    • 0.34.0
    • 0.34.1
    • 0.34.2
    • 0.34.3
    • 0.34.4
    • 0.34.5
    • 0.35.0
    • 0.35.1
    • 0.35.2
    • 0.35.3
    • 0.36.0
    • 0.36.1
    • 0.37.0
    • 0.37.1
    • 0.38.0
    • 0.38.1
    • 0.38.2
    • 0.38.3
    • 0.38.4
    • 0.39.0
    • 0.39.1
    • 0.39.2
    • 0.39.3
    • 0.40.0
    • 0.40.1
    • 0.40.2
    • 0.41.0
    • 0.42.0
    • 0.42.1
    • 0.42.2
    • 0.42.3
    • 0.42.4
    • 0.43.0
    • 0.43.1
    • 0.43.2
    • 0.44.0
    • 0.44.1
    • 0.45.0
    • 0.45.1
    • 0.46.0
    • 0.46.1
    • 0.47.0
    • 0.47.1
    • 0.48.0
    • 0.48.1
    • 0.49.0
    • 0.49.1
    • 0.50.1
    • 0.50.2
    • 0.51.0
    • 0.51.1
    • 0.51.2
    • 0.52.0
    • 0.52.1
    • 0.53.0
    • 0.53.1
    • 0.54.0
    • 0.55.0
    • 0.55.1
    • 0.56.0
    • 0.56.1
    • 0.56.2
    • 0.57.0
    • 0.57.1
    • 0.57.2
    • 0.57.3
    • 0.58.0
    • 0.58.1
    • 0.59.0
    • 0.59.1
    • 0.59.2
    • 0.60.0
    • 0.60.1
    • 0.61.0
    • 0.61.1
    • 0.62.0
    • 0.62.1
    • 0.63.0
    • 0.63.1
    • 0.63.2
    • 0.63.3
    • 0.64.0
    • 0.64.1
    • 0.64.2
    • 0.64.3
    • 0.64.4b0
    • 0.65.0
    • 0.65.1
    • 0.65.2
    • 0.65.3
    • 0.65.4
    • 0.65.5
    • 0.65.6
    • 0.66.0
    • 0.66.0b0
    • 0.66.0b1
    • 0.66.0b2
    • 0.66.0b3
    • 0.66.1
    • 0.66.1b0
    • 0.67.0
    • 0.67.0b0
    • 0.67.0b1
    • 0.67.1
    • 0.68.0
    • 0.68.0b0
    • 0.68.0b1
    • 0.68.0b2
    • 0.68.1
    • 0.69.0
    • 0.69.0b0
    • 0.69.1
    • 0.7.0
    • 0.7.0.1
    • 0.7.0rc1
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.5
    • 0.7.6
    • 0.7.7
    • 0.70.0
    • 0.70.0b0
    • 0.70.0b1
    • 0.70.0b2
    • 0.70.0b3
    • 0.70.0b4
    • 0.70.0b5
    • 0.70.0b6
    • 0.70.0b7
    • 0.70.1
    • 0.71.0
    • 0.71.0b0
    • 0.72.0
    • 0.72.0b0
    • 0.72.0b1
    • 0.72.0b2
    • 0.72.0b4
    • 0.72.0b5
    • 0.72.0b6
    • 0.72.0b7
    • 0.72.0b8
    • 0.72.0b9
    • 0.72.1
    • 0.73.0
    • 0.73.0b0
    • 0.73.0b1
    • 0.73.0b2
    • 0.73.0b3
    • 0.73.0b4
    • 0.73.0b5
    • 0.73.0b6
    • 0.73.1
    • 0.73.2
    • 0.74.0
    • 0.74.0b0
    • 0.74.0b2
    • 0.74.0b3
    • 0.74.0b4
    • 0.74.1
    • 0.74.2
    • 0.75.0

    Update to 2024.1.6

Original sources

Check your server →