Improper Validation of Certificate with Host Mismatch Affecting homeassistant package, versions [2023.9.0b0,2024.1.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-HOMEASSISTANT-8732783
  • published19 Feb 2025
  • disclosed18 Feb 2025
  • creditRene Nulsch

Introduced: 18 Feb 2025

NewCVE-2025-25305  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade homeassistant to version 2024.1.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch in components/octoprint, which uses custom Octoprint HTTP sessions. The default ssl parameter configuration uses the value False or None, which causes the SSL verification functionality to run and prevents information exposure. But in the Octoprint integration these default SSLContext settings can be bypassed by passing in use-ssl=true, which results in malicious connections appearing trusted and allowing MitM attacks.

CVSS Scores

version 4.0
version 3.1