pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/syncthing Updated syncthing to 0.14.14.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13ea64663481
branches:  trunk
changeset: 355854:13ea64663481
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Dec 14 12:14:59 2016 +0000

description:
Updated syncthing to 0.14.14.

This is a security release recommended for all users.

Two distinct security vulnerabilities have been corrected in this
release. Either would let a remote attacker, controlling a device
that is already accepted by Syncthing, perform arbitrary reads and
writes to files outside the configured folders.

The first issue is that path validation was lacking in several
places, resulting in Syncthing accepting index entries for files
like "../../foo", thus resulting in a path above the configured
folder.

The second issue is that where path validation was correct, symlinks
could be used to trick Syncthing. An attacker could create a symlink
"foo -> ../../" and then request the contents of "foo/something",
again escaping the constraints of the folder.

Syncing symlinks between v0.14.14 and previous versions will not
work.

This is due to the fix to the above issue. Normal files and
directories will sync fine. To continue syncing symlinks, both
sides must be upgraded to v0.14.14.

Further resolved issues:

    #3753: The build no longer requires Go 1.7.
    #3769: The wording in the GUI around "last file received" is
    now clearer.

diffstat:

 net/syncthing/Makefile |   5 ++---
 net/syncthing/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 8 deletions(-)

diffs (35 lines):

diff -r 45a828412791 -r 13ea64663481 net/syncthing/Makefile
--- a/net/syncthing/Makefile    Wed Dec 14 08:51:53 2016 +0000
+++ b/net/syncthing/Makefile    Wed Dec 14 12:14:59 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/12/04 16:30:00 bsiegert Exp $
+# $NetBSD: Makefile,v 1.37 2016/12/14 12:14:59 wiz Exp $
 
 # Upstream regularly breaks protocol compatibility.  While users of
 # pkgsrc syncthing on multiple systems can update synchronously, an
@@ -13,8 +13,7 @@
 # Note that the android versioning is disconnected from syncthing versioning;
 # see https://github.com/syncthing/syncthing-android/issues/652 for
 # a fuller explanation.
-DISTNAME=      syncthing-0.14.13
-PKGREVISION=   1
+DISTNAME=      syncthing-0.14.14
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=syncthing/}
 
diff -r 45a828412791 -r 13ea64663481 net/syncthing/distinfo
--- a/net/syncthing/distinfo    Wed Dec 14 08:51:53 2016 +0000
+++ b/net/syncthing/distinfo    Wed Dec 14 12:14:59 2016 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.29 2016/11/30 09:52:11 wiz Exp $
+$NetBSD: distinfo,v 1.30 2016/12/14 12:14:59 wiz Exp $
 
-SHA1 (syncthing-0.14.13.tar.gz) = 23d0ef78bc3b81adc024328f7333e3512636ea96
-RMD160 (syncthing-0.14.13.tar.gz) = 3c8a4410141c950516910efa1ddd28657cf15131
-SHA512 (syncthing-0.14.13.tar.gz) = 24f7f46e965df962a3759b1fdad15bded4b2b3c81a9a266798570b9686c3aad40a7ba99507ad5955ee2a5f1ed5224a8ba89b20459c65ca5f5338f2958d42fcf8
-Size (syncthing-0.14.13.tar.gz) = 6468568 bytes
+SHA1 (syncthing-0.14.14.tar.gz) = 3555fe5d9a4512084f3f26f1958f522450f771dc
+RMD160 (syncthing-0.14.14.tar.gz) = 8f7448b58e68556c00d7a7a52158e9db5844bb03
+SHA512 (syncthing-0.14.14.tar.gz) = 0b5934d87aa04b23e1059249c2dc3e4f1214825826e9c2b201487af33c991187e7b9909f41b29ee424cf4ec9d93be42f584af995eaee06d35297e0bfd8e316b4
+Size (syncthing-0.14.14.tar.gz) = 5947169 bytes
 SHA1 (patch-lib_config_optionsconfiguration.go) = 341c1c032c9551e17c86a6fb5d3552b1d79041c8



Home | Main Index | Thread Index | Old Index