NetBSD Problem Report #50779
From www@NetBSD.org Sun Feb 7 22:06:39 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 480267ABF7
for <gnats-bugs@gnats.NetBSD.org>; Sun, 7 Feb 2016 22:06:39 +0000 (UTC)
Message-Id: <20160207220638.23C7C7ACB9@mollari.NetBSD.org>
Date: Sun, 7 Feb 2016 22:06:38 +0000 (UTC)
From: Tr@visPaul.me
Reply-To: Tr@visPaul.me
To: gnats-bugs@NetBSD.org
Subject: Update sysutils/salt to 2015.8.5
X-Send-Pr-Version: www-1.0
>Number: 50779
>Category: pkg
>Synopsis: Update sysutils/salt to 2015.8.5
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sun Feb 07 22:10:00 +0000 2016
>Closed-Date: Mon Feb 08 00:03:07 +0000 2016
>Last-Modified: Mon Feb 08 00:03:07 +0000 2016
>Originator: Travis Paul
>Release: current
>Organization:
>Environment:
NetBSD kagato.netverb.com 7.99.26 NetBSD 7.99.26 (kagato) #0: Sun Feb 7 11:33:50 EST 2016 tpaul@kagato.netverb.com:/build/obj/sys/arch/amd64/compile/kagato amd64
>Description:
Upgrade salt to 2015.8.5 for security and bug fixes:
https://docs.saltstack.com/en/latest/topics/releases/2015.8.5.html
SECURITY FIX
CVE-2016-1866: Improper handling of clear messages on the minion, which could result in executing commands not sent by the master.
This issue affects only the 2015.8.x releases of Salt. In order for an attacker to use this attack vector, they would have to execute a successful attack on an existing TCP connection between minion and master on the pub port. It does not allow an external attacker to obtain the shared secret or decrypt any encrypted traffic between minion and master.
Tested on NetBSD amd64, OS X Kernel Version 15.3.0
Sent message to pkgsrc-security@ asking to add the CVE to the vulnerability list.
Makefile and distinfo patch added below.
>How-To-Repeat:
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile 4 Feb 2016 22:05:36 -0000 1.34
+++ Makefile 7 Feb 2016 21:56:34 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.34 2016/02/04 22:05:36 khorben Exp $
-DISTNAME= salt-2015.8.3
-PKGREVISION= 1
+DISTNAME= salt-2015.8.5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/}
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- distinfo 4 Feb 2016 22:05:36 -0000 1.17
+++ distinfo 7 Feb 2016 21:56:34 -0000
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.17 2016/02/04 22:05:36 khorben Exp $
-SHA1 (salt-2015.8.3.tar.gz) = 0457866d5619febc3cdf3b27b2e736b0c4ae3623
-RMD160 (salt-2015.8.3.tar.gz) = 607db5d35545cfb6c4e8676482133a1560f3e896
-SHA512 (salt-2015.8.3.tar.gz) = 18a2c63d5e54d09468189450557974e47f87d8b7dde52beaae678120da1da1e7aecfff18cf0fdfb63a11cd5f6bab102c229462f0afe5e3e858c0c467761c7121
-Size (salt-2015.8.3.tar.gz) = 6757678 bytes
+SHA1 (salt-2015.8.5.tar.gz) = f9d2b2dbb0fefc8d9b0b5a762f61f0f1d8998c47
+RMD160 (salt-2015.8.5.tar.gz) = 8b17e20f53ff201f135f0bfefeca937828289a01
+SHA512 (salt-2015.8.5.tar.gz) = 715709798fd1f4410ef204545a84e34d3ecc0f080905b7ae29ce19d273c1ed6865f56e025e59d2506301970ad05081ff119caec0ced03dcbe5803f9f00eb64f8
+Size (salt-2015.8.5.tar.gz) = 6877624 bytes
SHA1 (patch-salt_modules_status.py) = 5253782b046c2f7b809682f52ce4d04dab1c81ac
>Release-Note:
>Audit-Trail:
From: Travis Paul <Tr@visPaul.me>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/50779
Date: Sun, 7 Feb 2016 18:35:13 -0500
Updated patch for missing PLIST files:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile 4 Feb 2016 22:05:36 -0000 1.34
+++ Makefile 7 Feb 2016 23:33:54 -0000
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.34 2016/02/04 22:05:36 khorben Exp $
-DISTNAME= salt-2015.8.3
-PKGREVISION= 1
+DISTNAME= salt-2015.8.5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_PYPI:=s/salt/}
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/PLIST,v
retrieving revision 1.14
diff -u -r1.14 PLIST
--- PLIST 11 Dec 2015 00:27:06 -0000 1.14
+++ PLIST 7 Feb 2016 23:33:54 -0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2015/12/11 00:27:06 wiz Exp $
+@comment $NetBSD$
bin/salt
bin/salt-api
bin/salt-call
@@ -458,6 +458,9 @@
${PYSITELIB}/salt/grains/disks.py
${PYSITELIB}/salt/grains/disks.pyc
${PYSITELIB}/salt/grains/disks.pyo
+${PYSITELIB}/salt/grains/esxi.py
+${PYSITELIB}/salt/grains/esxi.pyc
+${PYSITELIB}/salt/grains/esxi.pyo
${PYSITELIB}/salt/grains/external_ip.py
${PYSITELIB}/salt/grains/external_ip.pyc
${PYSITELIB}/salt/grains/external_ip.pyo
@@ -764,6 +767,9 @@
${PYSITELIB}/salt/modules/eselect.py
${PYSITELIB}/salt/modules/eselect.pyc
${PYSITELIB}/salt/modules/eselect.pyo
+${PYSITELIB}/salt/modules/esxi.py
+${PYSITELIB}/salt/modules/esxi.pyc
+${PYSITELIB}/salt/modules/esxi.pyo
${PYSITELIB}/salt/modules/etcd_mod.py
${PYSITELIB}/salt/modules/etcd_mod.pyc
${PYSITELIB}/salt/modules/etcd_mod.pyo
@@ -1271,6 +1277,9 @@
${PYSITELIB}/salt/modules/slack_notify.py
${PYSITELIB}/salt/modules/slack_notify.pyc
${PYSITELIB}/salt/modules/slack_notify.pyo
+${PYSITELIB}/salt/modules/slsutil.py
+${PYSITELIB}/salt/modules/slsutil.pyc
+${PYSITELIB}/salt/modules/slsutil.pyo
${PYSITELIB}/salt/modules/smartos_imgadm.py
${PYSITELIB}/salt/modules/smartos_imgadm.pyc
${PYSITELIB}/salt/modules/smartos_imgadm.pyo
@@ -1427,6 +1436,9 @@
${PYSITELIB}/salt/modules/virtualenv_mod.py
${PYSITELIB}/salt/modules/virtualenv_mod.pyc
${PYSITELIB}/salt/modules/virtualenv_mod.pyo
+${PYSITELIB}/salt/modules/vsphere.py
+${PYSITELIB}/salt/modules/vsphere.pyc
+${PYSITELIB}/salt/modules/vsphere.pyo
${PYSITELIB}/salt/modules/win_autoruns.py
${PYSITELIB}/salt/modules/win_autoruns.pyc
${PYSITELIB}/salt/modules/win_autoruns.pyo
@@ -1712,6 +1724,9 @@
${PYSITELIB}/salt/proxy/chronos.py
${PYSITELIB}/salt/proxy/chronos.pyc
${PYSITELIB}/salt/proxy/chronos.pyo
+${PYSITELIB}/salt/proxy/esxi.py
+${PYSITELIB}/salt/proxy/esxi.pyc
+${PYSITELIB}/salt/proxy/esxi.pyo
${PYSITELIB}/salt/proxy/fx2.py
${PYSITELIB}/salt/proxy/fx2.pyc
${PYSITELIB}/salt/proxy/fx2.pyo
@@ -1901,6 +1916,9 @@
${PYSITELIB}/salt/roster/flat.py
${PYSITELIB}/salt/roster/flat.pyc
${PYSITELIB}/salt/roster/flat.pyo
+${PYSITELIB}/salt/roster/range.py
+${PYSITELIB}/salt/roster/range.pyc
+${PYSITELIB}/salt/roster/range.pyo
${PYSITELIB}/salt/roster/scan.py
${PYSITELIB}/salt/roster/scan.pyc
${PYSITELIB}/salt/roster/scan.pyo
@@ -2213,6 +2231,9 @@
${PYSITELIB}/salt/states/eselect.py
${PYSITELIB}/salt/states/eselect.pyc
${PYSITELIB}/salt/states/eselect.pyo
+${PYSITELIB}/salt/states/esxi.py
+${PYSITELIB}/salt/states/esxi.pyc
+${PYSITELIB}/salt/states/esxi.pyo
${PYSITELIB}/salt/states/etcd_mod.py
${PYSITELIB}/salt/states/etcd_mod.pyc
${PYSITELIB}/salt/states/etcd_mod.pyo
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/salt/distinfo,v
retrieving revision 1.17
diff -u -r1.17 distinfo
--- distinfo 4 Feb 2016 22:05:36 -0000 1.17
+++ distinfo 7 Feb 2016 23:33:54 -0000
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.17 2016/02/04 22:05:36 khorben Exp $
-SHA1 (salt-2015.8.3.tar.gz) = 0457866d5619febc3cdf3b27b2e736b0c4ae3623
-RMD160 (salt-2015.8.3.tar.gz) = 607db5d35545cfb6c4e8676482133a1560f3e896
-SHA512 (salt-2015.8.3.tar.gz) =
18a2c63d5e54d09468189450557974e47f87d8b7dde52beaae678120da1da1e7aecfff18cf0fdfb63a11cd5f6bab102c229462f0afe5e3e858c0c467761c7121
-Size (salt-2015.8.3.tar.gz) = 6757678 bytes
+SHA1 (salt-2015.8.5.tar.gz) = f9d2b2dbb0fefc8d9b0b5a762f61f0f1d8998c47
+RMD160 (salt-2015.8.5.tar.gz) = 8b17e20f53ff201f135f0bfefeca937828289a01
+SHA512 (salt-2015.8.5.tar.gz) =
715709798fd1f4410ef204545a84e34d3ecc0f080905b7ae29ce19d273c1ed6865f56e025e59d2506301970ad05081ff119caec0ced03dcbe5803f9f00eb64f8
+Size (salt-2015.8.5.tar.gz) = 6877624 bytes
SHA1 (patch-salt_modules_status.py) =
5253782b046c2f7b809682f52ce4d04dab1c81ac
State-Changed-From-To: open->closed
State-Changed-By: sevan@NetBSD.org
State-Changed-When: Mon, 08 Feb 2016 00:03:07 +0000
State-Changed-Why:
commited, thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.