[tryton-debian-vcs] tryton-server branch upstream-3.8 updated. upstream/3.8.10-1-g5fcdeb7
Mathias Behrle
tryton-debian-vcs at alioth.debian.org
Tue Apr 4 08:30:38 UTC 2017
The following commit has been merged in the upstream-3.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-server.git;a=commitdiff;h=upstream/3.8.10-1-g5fcdeb7
commit 5fcdeb72139505c53a6f7d3123283bcf6428d8f7
Author: Mathias Behrle <mathiasb at m9s.biz>
Date: Tue Apr 4 09:43:58 2017 +0200
Adding upstream version 3.8.11.
Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>
diff --git a/CHANGELOG b/CHANGELOG
index 6eaff95..647df48 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+Version 3.8.11 - 2017-04-03
+* Bug fixes (see mercurial logs for details)
+* Sanitize path in file_open against suffix (CVE-2017-0360)
+
Version 3.8.10 - 2017-03-10
* Bug fixes (see mercurial logs for details)
diff --git a/PKG-INFO b/PKG-INFO
index 2f16d64..a64e811 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 3.8.10
+Version: 3.8.11
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond.egg-info/PKG-INFO b/trytond.egg-info/PKG-INFO
index 2f16d64..a64e811 100644
--- a/trytond.egg-info/PKG-INFO
+++ b/trytond.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: trytond
-Version: 3.8.10
+Version: 3.8.11
Summary: Tryton server
Home-page: http://www.tryton.org/
Author: Tryton
diff --git a/trytond/__init__.py b/trytond/__init__.py
index 08821dd..6a7efe5 100644
--- a/trytond/__init__.py
+++ b/trytond/__init__.py
@@ -4,7 +4,7 @@ import os
import time
from email import charset
-__version__ = "3.8.10"
+__version__ = "3.8.11"
os.environ['TZ'] = 'UTC'
if hasattr(time, 'tzset'):
diff --git a/trytond/tools/misc.py b/trytond/tools/misc.py
index a5cfab0..958c96a 100644
--- a/trytond/tools/misc.py
+++ b/trytond/tools/misc.py
@@ -60,7 +60,7 @@ def file_open(name, mode="r", subdir='modules'):
"Join paths and ensure it still below root"
path = os.path.join(root, *paths)
path = os.path.normpath(path)
- if not path.startswith(root):
+ if not path.startswith(os.path.join(root, '')):
raise IOError("Permission denied: %s" % name)
return path
--
tryton-server
More information about the tryton-debian-vcs
mailing list