Bug 1202837 (CVE-2015-2674)

Summary: CVE-2015-2674 python-restkit: incorrect SSL/TLS certificate validation
Product: [Other] Security Response Reporter: Martin Prpič <mprpic>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: rbean
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:39:57 UTC Type: ---
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: 1202839    
Bug Blocks:    

Description Martin Prpič 2015-03-17 14:19:21 UTC
It was reported that python-restkit does not properly validate SSL/TLS certificates:

It appears to simply use ssl.wrap_socket from the standard library, which does not do any validation by default. This can be verified by doing:

    >>> from restkit import request
    >>> r = request("https://tv.eurosport.com/";)
    >>> r.body_string()
    '<HTML><HEAD>...'

Upstream issue:

https://github.com/benoitc/restkit/issues/140

Additional information:

http://seclists.org/oss-sec/2015/q1/818

Comment 1 Martin Prpič 2015-03-17 14:19:38 UTC
Created python-restkit tracking bugs for this issue:

Affects: fedora-all [bug 1202839]

Comment 2 Product Security DevOps Team 2019-06-08 02:39:57 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.