Bug 963186 - python-backports-ssl_match_hostname: Denial of service when matching certificate with many '*' wildcard characters
python-backports-ssl_match_hostname: Denial of service when matching certific...
Status: CLOSED DUPLICATE of bug 963260
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On:
  Show dependency treegraph
Reported: 2013-05-15 07:02 EDT by Jan Lieskovsky
Modified: 2013-05-15 10:50 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-05-15 10:50:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2013-05-15 07:02:05 EDT
A denial of service flaw was found in the way python-backports-ssl_match_hostname, an implementation that brings the ssl.match_hostname() function from Python 3.2 to users of earlier versions of Python, performed matching of the certificate's name in the case it contained many '*' wildcard characters. A remote attacker, able to obtain valid certificate with its name containing a lot of '*' wildcard characters, could use this flaw to cause denial of service (excessive CPU time consumption) by issuing request to validate that certificate for / in an application using the python-backports-ssl_match_hostname functionality.

Upstream bug report:
[1] http://bugs.python.org/issue17980


This issue was discovered by Florian Weimer of Red Hat Product Security Team.
Comment 1 Jan Lieskovsky 2013-05-15 07:04:40 EDT
This issue affects the versions of the python-backports-ssl_match_hostname package as shipped with Fedora release of 17, 18, and Fedora EPEL-6. Please schedule an update (once there is final upstream patch available).
Comment 2 Jan Lieskovsky 2013-05-15 07:07:04 EDT
Created python-backports-ssl_match_hostname tracking bugs for this issue

Affects: fedora-all [bug 963187]
Affects: epel-6 [bug 963188]
Comment 3 Jan Lieskovsky 2013-05-15 07:37:20 EDT
CVE request:

and Python 3.2 case follow-up:
(will file independent Python 3.2 bug shortly - after the lunch)
Comment 4 Jan Lieskovsky 2013-05-15 10:50:18 EDT

*** This bug has been marked as a duplicate of bug 963260 ***

Note You need to log in before you can comment on or make changes to this bug.