Bug 1230953 - CVE-2013-7440 python-pip: python: wildcard matching rules do not follow RFC 6125 [fedora-all]
Summary: CVE-2013-7440 python-pip: python: wildcard matching rules do not follow RFC 6...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pip
Version: 22
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bohuslav "Slavek" Kabrda
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: CVE-2013-7440
TreeView+ depends on / blocked
 
Reported: 2015-06-11 21:08 UTC by Tomas Hoger
Modified: 2015-07-01 09:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-01 09:27:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2015-06-11 21:08:24 UTC
This is an automatically created tracking bug!  It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.

For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.

For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs

When submitting as an update, use the fedpkg template provided in the next
comment(s).  This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.

Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.

NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time.  If you need to fix the versions independent of each other,
you may clone this bug as appropriate.

[bug automatically created by: add-tracking-bugs]

Comment 1 Tomas Hoger 2015-06-11 21:08:30 UTC
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug.  This will ensure that all associated bugs get updated
when new packages are pushed to stable.

=====

# bugfix, security, enhancement, newpackage (required)
type=security

# testing, stable
request=testing

# Bug numbers: 1234,9876
bugs=1224999,1230953

# Description of your update
notes=Security fix for CVE-2013-7440

# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3

# Automatically close bugs when this marked as stable
close_bugs=True

# Suggest that users restart after update
suggest_reboot=False

======

Additionally, you may opt to use the bodhi update submission link instead:

https://admin.fedoraproject.org/updates/new/?type_=security&bugs=1224999,1230953

Comment 2 Tomas Hoger 2015-06-11 21:13:02 UTC
See bug 1224999 comment 3 for details on pip.  F20 version has two copies of affected code.  F21 only has affected match_hostname in bundled distlib.  From a quick look, I could not see if that part of distlib is used by pip.  Can you confirm one way or the other?  F22 version has both copies fixed.

Comment 3 Bohuslav "Slavek" Kabrda 2015-07-01 09:27:39 UTC
- F20 is now EOL and F22 and later have this bug fixed.
- In F21, the only place where match_hostname from bundled distlib is used is _vendor.distlib.util:HTTPSConnection.connect(). The HTTPSConnection is however not used anywhere inside pip or it's bundled libraries, which means that F21 pip version is unaffected. Closing this bug as CURRENTRELEASE.


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