From owner-freebsd-python@freebsd.org Fri Jun 24 20:43:08 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D597FB7418E for ; Fri, 24 Jun 2016 20:43:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id BFDD92406 for ; Fri, 24 Jun 2016 20:43:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id BEFF9B7418D; Fri, 24 Jun 2016 20:43:08 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEA61B7418C for ; Fri, 24 Jun 2016 20:43:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE7082405 for ; Fri, 24 Jun 2016 20:43:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u5OKh8SY060424 for ; Fri, 24 Jun 2016 20:43:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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) Date: Fri, 24 Jun 2016 20:43:08 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch, security X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 20:43:08 -0000 Vladimir Krstulja has reassigned Bugzilla Automation 's request for maintainer-feedback to Free= BSD Python : 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.