maintainer-feedback requested: [Bug 210539] lang/python33: HTTP Header Injection in Python urllib (CVE-2016-5699)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 24 20:43:08 UTC 2016


Vladimir Krstulja <vlad-fbsd at acheronmedia.com> has reassigned Bugzilla
Automation <bugzilla at FreeBSD.org>'s request for maintainer-feedback to FreeBSD
Python <python at FreeBSD.org>:
Bug 210539: lang/python33: HTTP Header Injection in Python urllib
(CVE-2016-5699)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210539



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

* Nice summary of the problem with POC:
 
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 happens
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.


More information about the freebsd-python mailing list