Your message dated Sat, 09 Dec 2017 10:46:36 +0000 with message-id <1512816396.1994.30.camel@adam-barratt.org.uk> and subject line Closing bugs for updates included in stretch point release has caused the Debian Bug report #882621, regarding stretch-pu: package python2.7/2.7.13-2+deb9u2 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 882621: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882621 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: stretch-pu: package python2.7/2.7.13-2+deb9u2
- From: Moritz Muehlenhoff <jmm@debian.org>
- Date: Fri, 24 Nov 2017 23:18:12 +0100
- Message-id: <151156189226.18454.11248514053752830789.reportbug@hullmann.westfalen.local>
Package: release.debian.org Severity: normal Tags: stretch User: release.debian.org@packages.debian.org Usertags: pu Hi, I'd like to add a fix for a minor security issue in Python 2.7 to the as a followup update to what's already in spu. debdiff is below. This is fixed in unstable in 2.7.13-4. Cheers, Moritz diff -u python2.7-2.7.13/debian/changelog python2.7-2.7.13/debian/changelog --- python2.7-2.7.13/debian/changelog +++ python2.7-2.7.13/debian/changelog @@ -1,3 +1,10 @@ +python2.7 (2.7.13-2+deb9u2) stretch; urgency=medium + + * Backport c3c9db89273fabc62ea1b48389d9a3000c1c03ae to address + CVE-2017-1000158 / https://bugs.python.org/issue30657 + + -- Moritz Mühlenhoff <jmm@debian.org> Fri, 24 Nov 2017 18:33:09 +0100 + python2.7 (2.7.13-2+deb9u1) stretch; urgency=medium * Non-maintainer upload with maintainer's permission diff -u python2.7-2.7.13/debian/patches/series.in python2.7-2.7.13/debian/patches/series.in --- python2.7-2.7.13/debian/patches/series.in +++ python2.7-2.7.13/debian/patches/series.in @@ -72,0 +73 @@ +CVE-2017-1000158.diff only in patch2: unchanged: --- python2.7-2.7.13.orig/debian/patches/CVE-2017-1000158.diff +++ python2.7-2.7.13/debian/patches/CVE-2017-1000158.diff @@ -0,0 +1,29 @@ +From c3c9db89273fabc62ea1b48389d9a3000c1c03ae Mon Sep 17 00:00:00 2001 +From: Jay Bosamiya <jaybosamiya@gmail.com> +Date: Sun, 18 Jun 2017 22:11:03 +0530 +Subject: [PATCH] [2.7] bpo-30657: Check & prevent integer overflow in + PyString_DecodeEscape (#2174) + +--- + Objects/stringobject.c | 8 +++++++- + 3 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/Objects/stringobject.c b/Objects/stringobject.c +index c78e19316a0..59d22e76946 100644 +--- a/Objects/stringobject.c ++++ b/Objects/stringobject.c +@@ -612,7 +612,13 @@ PyObject *PyString_DecodeEscape(const char *s, + char *p, *buf; + const char *end; + PyObject *v; +- Py_ssize_t newlen = recode_encoding ? 4*len:len; ++ Py_ssize_t newlen; ++ /* Check for integer overflow */ ++ if (recode_encoding && (len > PY_SSIZE_T_MAX / 4)) { ++ PyErr_SetString(PyExc_OverflowError, "string is too large"); ++ return NULL; ++ } ++ newlen = recode_encoding ? 4*len:len; + v = PyString_FromStringAndSize((char *)NULL, newlen); + if (v == NULL) + return NULL;
--- End Message ---
--- Begin Message ---
- To: 864297-done@bugs.debian.org, 865986-done@bugs.debian.org, 866615-done@bugs.debian.org, 873332-done@bugs.debian.org, 873754-done@bugs.debian.org, 874254-done@bugs.debian.org, 875994-done@bugs.debian.org, 876527-done@bugs.debian.org, 876706-done@bugs.debian.org, 877043-done@bugs.debian.org, 877342-done@bugs.debian.org, 877366-done@bugs.debian.org, 877403-done@bugs.debian.org, 877420-done@bugs.debian.org, 877503-done@bugs.debian.org, 877627-done@bugs.debian.org, 877640-done@bugs.debian.org, 877722-done@bugs.debian.org, 877937-done@bugs.debian.org, 878173-done@bugs.debian.org, 878576-done@bugs.debian.org, 878668-done@bugs.debian.org, 878685-done@bugs.debian.org, 878996-done@bugs.debian.org, 879081-done@bugs.debian.org, 879215-done@bugs.debian.org, 879599-done@bugs.debian.org, 879629-done@bugs.debian.org, 879702-done@bugs.debian.org, 879773-done@bugs.debian.org, 879850-done@bugs.debian.org, 880020-done@bugs.debian.org, 880439-done@bugs.debian.org, 880862-done@bugs.debian.org, 880896-done@bugs.debian.org, 881415-done@bugs.debian.org, 881900-done@bugs.debian.org, 882068-done@bugs.debian.org, 882194-done@bugs.debian.org, 882219-done@bugs.debian.org, 882228-done@bugs.debian.org, 882493-done@bugs.debian.org, 882621-done@bugs.debian.org, 882649-done@bugs.debian.org, 882714-done@bugs.debian.org, 882724-done@bugs.debian.org, 882829-done@bugs.debian.org, 882831-done@bugs.debian.org, 882832-done@bugs.debian.org, 882834-done@bugs.debian.org, 882836-done@bugs.debian.org, 882837-done@bugs.debian.org, 882856-done@bugs.debian.org, 882861-done@bugs.debian.org, 882863-done@bugs.debian.org, 882869-done@bugs.debian.org, 882958-done@bugs.debian.org, 882959-done@bugs.debian.org, 883176-done@bugs.debian.org, 883332-done@bugs.debian.org, 883344-done@bugs.debian.org, 882391-done@bugs.debian.org, 883071-done@bugs.debian.org
- Subject: Closing bugs for updates included in stretch point release
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 09 Dec 2017 10:46:36 +0000
- Message-id: <1512816396.1994.30.camel@adam-barratt.org.uk>
Version: 9.3 Hi, Each of the updates referenced in these bugs was included in this morning's stretch point release. Thanks! Regards, Adam
--- End Message ---