Bug 1555314

Summary: Don't send IP address as SNI TLS extension
Product: Red Hat Enterprise Linux 7 Reporter: Charalampos Stratakis <cstratak>
Component: pythonAssignee: Python Maintainers <python-maint>
Status: CLOSED ERRATA QA Contact: Jan Kepler <jkejda>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: bkabrda, cheimes, cstratak, dmalcolm, extras-orphan, extras-qa, jkejda, mhroncok, pviktori, rkuska, tomspur, torsava
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-2.7.5-71.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1554760 Environment:
Last Closed: 2018-10-30 07:55:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1554760    
Bug Blocks: 1549615, 1551022    

Description Charalampos Stratakis 2018-03-14 13:14:00 UTC
+++ This bug was initially created as a clone of Bug #1554760 +++

Description of problem:
Python's ssl module sends IP addresses in SNI TLS extension although the extension must only be used to send hostnames. Some servers simply ignore IP addresses in extensions while others seem to fail. Ansible has been hitting the issue, e.g. see https://github.com/shazow/urllib3/pull/1287#issuecomment-372611467

Version-Release number of selected component (if applicable):
python2-2.7.14-8.fc27.x86_64
python3-3.6.4-8.fc27.x86_64

How reproducible:
Always

Additional info:
Fixes for 2.7 and 3.6 are available in https://github.com/python/cpython/pull/5871
and https://github.com/python/cpython/pull/5865 .

Comment 5 errata-xmlrpc 2018-10-30 07:55:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3041