PT-2026-162333

Publicado

2026-11-19

·

Atualizado

2026-11-19

Descrição por

CVSS 3.1
7.4
Alta
MétricasAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
ssl.SSLContext.wrap bio() didn't require the server hostname argument to not be None if ssl.SSLContext.check hostname was set. Due to a missing parameter check in SSLObject, if the server hostname argument isn't supplied then hostname verification would be silently skipped.
This defect could lead to programs where certificate hostname verification appeared to be succeeding with SSLContext.check hostname = True and no ValueError being raised due to misconfiguration.
If the program passes a server hostname value that isn't an empty string or None to any of these APIs then certificate hostname verification proceeds as expected and the program is not affected by this vulnerability.
Mitigating this vulnerability doesn't require updating Python or applying the patch. To mitigate, pass a valid non-None and non-empty server hostname value to SSLContext.wrap bio(), asyncio.create connection(), or asyncio.loop.start tls() and certificate hostname verification will proceed as expected. Upgrading to the latest version of Python or applying the patch only changes the behavior from silently skipping hostname verification to raising a ValueError, similar to SSLContext.wrap socket(), when server hostname isn't supplied.
Explorabilidade
Correção
Fornecedores
Produtos afetados
Identificadores relacionados
DHI-WXNL-2H7J-2AYI-CHXC
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾