Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jun 2016 20:43:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 210539] lang/python33: HTTP Header Injection in Python urllib (CVE-2016-5699)
Message-ID:  <bug-210539-21822-qRkdVvEM8w@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-210539-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-210539-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Vladimir Krstulja <vlad-fbsd@acheronmedia.com> has reassigned Bugzilla
Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to Free=
BSD
Python <python@FreeBSD.org>:
Bug 210539: lang/python33: HTTP Header Injection in Python urllib
(CVE-2016-5699)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210539



--- Description ---
Python 3.3 is vulnerable to HTTP Header injection in urllib.

* Nice summary of the problem with POC:
=20
http://blog.blindspotsecurity.com/2016/06/advisory-http-header-injection-in=
.htm
l

* CVE request:
  http://www.openwall.com/lists/oss-security/2016/06/14/7
  (assignment) http://www.openwall.com/lists/oss-security/2016/06/16/2

* Upstream issue:
  https://bugs.python.org/issue22928

* Upstream fix in Python 3.5, 3.4, 2.7 (but not 3.3):
  (3.5, 3.4) https://hg.python.org/cpython/rev/bf3e1c9b80e9
  (2.7) https://hg.python.org/cpython/rev/1c45047c5102

I've tested the POC given in the first link above, and indeed injection hap=
pens
with 3.3, but not with 3.4 (haven't tested the others). I'll see if I can
backport the patch myself, will attach it here. Also waiting for upstream to
respond about my backport request.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210539-21822-qRkdVvEM8w>