Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 468252 (CVE-2013-2037) - <dev-python/httplib2-0.9.2-r2: ssl cert incorrect error handling (CVE-2013-2037)
Summary: <dev-python/httplib2-0.9.2-r2: ssl cert incorrect error handling (CVE-2013-2037)
Status: RESOLVED FIXED
Alias: CVE-2013-2037
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: http://www.openwall.com/lists/oss-sec...
Whiteboard: B4 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-02 07:58 UTC by Agostino Sarubbo
Modified: 2017-01-26 15:17 UTC (History)
1 user (show)

See Also:
Package list:
=dev-python/httplib2-0.9.2-r2
Runtime testing required: ---
stable-bot: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-05-02 07:58:15 UTC
From ${URL} :

httplib2 only validates SSL certificates on the first request to a
connection, and doesn't report validation failures on subsequent requests.

Bugs:

http://code.google.com/p/httplib2/issues/detail?id=282
https://bugs.launchpad.net/httplib2/+bug/1175272



@maintainer(s): after the bump, in case we need to stabilize the package, please say explicitly if it is ready for the stabilization or not
Comment 1 GLSAMaker/CVETool Bot gentoo-dev 2014-02-04 14:05:30 UTC
CVE-2013-2037 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2013-2037):
  httplib2 0.7.2, 0.8, and earlier, after an initial connection is made, does
  not verify that the server hostname matches a domain name in the subject's
  Common Name (CN) or subjectAltName field of the X.509 certificate, which
  allows man-in-the-middle attackers to spoof SSL servers via an arbitrary
  valid certificate.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2014-06-02 07:09:40 UTC
Upstream now lives on GitHub. The relevant issue was imported, here:

https://github.com/jcgregorio/httplib2/issues/243
Comment 3 Aaron Bauman (RETIRED) gentoo-dev 2016-07-17 12:38:56 UTC
(In reply to Dirkjan Ochtman from comment #2)
> Upstream now lives on GitHub. The relevant issue was imported, here:
> 
> https://github.com/jcgregorio/httplib2/issues/243

Dirkjan, looks like you proposed a patch upstream at:

https://github.com/httplib2/httplib2/issues/5

Do you intend to apply this in tree to fix the issue?
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2016-07-17 19:08:24 UTC
I don't really feel comfortable judging this patch. Personally, I feel every rdep should be moving away from httplib2, as it has been so badly maintained.
Comment 5 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-19 00:01:42 UTC
Ping. What's the status?

Can we please either apply the patch from Fedora http://pkgs.fedoraproject.org/cgit/rpms/python-httplib2.git/tree/python-httplib2-0.9-cve-2013-2037.patch (looks like the proposed patch from Dirkjan) or start the removal process?
Comment 6 Mike Gilbert gentoo-dev 2016-11-19 18:43:32 UTC
Please go ahead with stabilization.

commit ae0c052e47bbfbbf35afaddcd2e828513c5f5acd
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Nov 19 13:42:36 2016 -0500

    dev-python/httplib2: apply patch for CVE-2013-2037
    
    Bug: https://bugs.gentoo.org/468252
    
    Package-Manager: portage-2.3.2_p8

 .../files/python-httplib2-0.9-cve-2013-2037.patch   | 21 +++++++++++++++++++++
 ...ib2-0.9.2-r1.ebuild => httplib2-0.9.2-r2.ebuild} | 12 ++++++++----
 2 files changed, 29 insertions(+), 4 deletions(-)
Comment 7 Thomas Deutschmann (RETIRED) gentoo-dev 2016-11-19 19:06:28 UTC
Thanks for the bump!


@ Arches,

please stabilize =dev-python/httplib2-0.9.2-r2

Stable target(s): alpha amd64 arm ia64 ppc ppc64 sparc x86
Comment 8 Agostino Sarubbo gentoo-dev 2016-11-20 13:05:18 UTC
amd64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2016-11-20 13:08:49 UTC
x86 stable
Comment 10 Tobias Klausmann (RETIRED) gentoo-dev 2016-11-23 09:21:24 UTC
Stable on alpha.
Comment 11 Markus Meier gentoo-dev 2016-11-29 17:20:17 UTC
arm stable
Comment 12 Agostino Sarubbo gentoo-dev 2017-01-11 10:36:34 UTC
sparc stable
Comment 13 Agostino Sarubbo gentoo-dev 2017-01-15 15:50:30 UTC
ppc stable
Comment 14 Agostino Sarubbo gentoo-dev 2017-01-17 14:24:52 UTC
ia64 stable
Comment 15 Agostino Sarubbo gentoo-dev 2017-01-18 10:03:05 UTC
ppc64 stable.

Maintainer(s), please cleanup.
Security, please vote.
Comment 16 Aaron Bauman (RETIRED) gentoo-dev 2017-01-24 07:52:40 UTC
https://github.com/gentoo/gentoo/pull/3618
Comment 17 Mike Gilbert gentoo-dev 2017-01-25 15:46:22 UTC
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5a2b1033da878bbeac7981180d21d5e17bb6445

commit e5a2b1033da878bbeac7981180d21d5e17bb6445
Author: Aaron Bauman <bman@gentoo.org>
Date:   Tue Jan 24 16:51:00 2017 +0900

    dev-python/httplib2: drop vulnerable wrt bug #468252

 dev-python/httplib2/Manifest              |  1 -
 dev-python/httplib2/httplib2-0.9.1.ebuild | 33 -------------------------------
 2 files changed, 34 deletions(-)
Comment 18 Thomas Deutschmann (RETIRED) gentoo-dev 2017-01-26 15:17:19 UTC
GLSA Vote: No

Repository is clean.