pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/asterisk Update to Asterisk 11.25.3. This is a ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05b68c850495
branches:  trunk
changeset: 382876:05b68c850495
user:      jnemeth <jnemeth%pkgsrc.org@localhost>
date:      Mon Jul 16 23:21:58 2018 +0000

description:
Update to Asterisk 11.25.3.  This is a security update to fix
AST-2017-005, AST-2017-006, and AST-2017-008.  There was no release
announcement as only security patches were issued.  I just found
this update while looking to see what updates I was missing for
more recent versions of Asterisk.  The Asterisk 11.x series was
declared end-of-life on Oct. 25th, 2017, so there will not be any
more updates to this package (other then PKGREVISION bumps for
dependencies) before it gets deleted.  There is a reasonable chance
that there are unpatched vulnerabilities in this package.  Anybody
still using it should upgrade a newer version as soon as possibble.

-----  AST-2017-2005  -----

    Description  The "strictrtp" option in rtp.conf enables a feature of the
                 RTP stack that learns the source address of media for a
                 session and drops any packets that do not originate from
                 the expected address. This option is enabled by default in
                 Asterisk 11 and above.

                 The "nat" and "rtp_symmetric" options for chan_sip and
                 chan_pjsip respectively enable symmetric RTP support in the
                 RTP stack. This uses the source address of incoming media
                 as the target address of any sent media. This option is not
                 enabled by default but is commonly enabled to handle
                 devices behind NAT.

                 A change was made to the strict RTP support in the RTP
                 stack to better tolerate late media when a reinvite occurs.
                 When combined with the symmetric RTP support this
                 introduced an avenue where media could be hijacked. Instead
                 of only learning a new address when expected the new code
                 allowed a new source address to be learned at all times.

                 If a flood of RTP traffic was received the strict RTP
                 support would allow the new address to provide media and
                 with symmetric RTP enabled outgoing traffic would be sent
                 to this new address, allowing the media to be hijacked.
                 Provided the attacker continued to send traffic they would
                 continue to receive traffic as well.

    Resolution  The RTP stack will now only learn a new source address if it
                has been told to expect the address to change. The RTCP
                support has now also been updated to drop RTCP reports that
                are not regarding the RTP session currently in progress. The
                strict RTP learning progress has also been improved to guard
                against a flood of RTP packets attempting to take over the
                media stream.

-----  AST-2017-006  -----

    Description  The app_minivm module has an "externnotify" program
                 configuration option that is executed by the MinivmNotify
                 dialplan application. The application uses the caller-id
                 name and number as part of a built string passed to the OS
                 shell for interpretation and execution. Since the caller-id
                 name and number can come from an untrusted source, a
                 crafted caller-id name or number allows an arbitrary shell
                 command injection.

    Resolution  Patched Asterisk's app_minivm module to use a different
                system call that passes argument strings in an array instead
                of having the OS shell determine the application parameter
                boundaries.

-----  AST-2017-008  -----

    Description  This is a follow up advisory to AST-2017-005.

                 Insufficient RTCP packet validation could allow reading
                 stale buffer contents and when combined with the "nat" and
                 "symmetric_rtp" options allow redirecting where Asterisk
                 sends the next RTCP report.

                 The RTP stream qualification to learn the source address of
                 media always accepted the first RTP packet as the new
                 source and allowed what AST-2017-005 was mitigating. The
                 intent was to qualify a series of packets before accepting
                 the new source address.

    Resolution  The RTP/RTCP stack will now validate RTCP packets before
                processing them. Packets failing validation are discarded.
                RTP stream qualification now requires the intended series of
                packets from the same address without seeing packets from a
                different source address to accept a new source address.

diffstat:

 comms/asterisk/Makefile |   6 +++---
 comms/asterisk/distinfo |  18 +++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diffs (44 lines):

diff -r 81d4da83866e -r 05b68c850495 comms/asterisk/Makefile
--- a/comms/asterisk/Makefile   Mon Jul 16 21:53:48 2018 +0000
+++ b/comms/asterisk/Makefile   Mon Jul 16 23:21:58 2018 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.162 2018/04/29 21:31:29 adam Exp $
+# $NetBSD: Makefile,v 1.163 2018/07/16 23:21:58 jnemeth Exp $
 #
 # NOTE: when updating this package, there are two places that sound
 #       tarballs need to be checked; look win ${WRKSRC}/sounds/Makefile
 #       to find out the current sound file versions
 
-DISTNAME=      asterisk-11.25.1
-PKGREVISION=   13
+DISTNAME=      asterisk-11.25.3
+#PKGREVISION=  13
 CATEGORIES=    comms net audio
 MASTER_SITES=  http://downloads.asterisk.org/pub/telephony/asterisk/
 MASTER_SITES+= http://downloads.asterisk.org/pub/telephony/asterisk/old-releases/
diff -r 81d4da83866e -r 05b68c850495 comms/asterisk/distinfo
--- a/comms/asterisk/distinfo   Mon Jul 16 21:53:48 2018 +0000
+++ b/comms/asterisk/distinfo   Mon Jul 16 23:21:58 2018 +0000
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.84 2016/12/11 00:50:15 jnemeth Exp $
+$NetBSD: distinfo,v 1.85 2018/07/16 23:21:58 jnemeth Exp $
 
-SHA1 (asterisk-11.25.1/asterisk-11.25.1.tar.gz) = 7bd4603284639d71da9097d93920b28a705dc012
-RMD160 (asterisk-11.25.1/asterisk-11.25.1.tar.gz) = 8f29571cccd93a20ad6faf67dec2efc0734f781f
-SHA512 (asterisk-11.25.1/asterisk-11.25.1.tar.gz) = 37144b7296f929bdb707853690a12d4c1403741221c943becc88c18fe20587ba2381425574e97647c10efa9f98200336ddae7e3433740e5a509a837ed28ca02c
-Size (asterisk-11.25.1/asterisk-11.25.1.tar.gz) = 35125897 bytes
-SHA1 (asterisk-11.25.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
-RMD160 (asterisk-11.25.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
-SHA512 (asterisk-11.25.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
-Size (asterisk-11.25.1/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
+SHA1 (asterisk-11.25.3/asterisk-11.25.3.tar.gz) = e9419263150010a9d1b8ff5cabc904bbbd7448eb
+RMD160 (asterisk-11.25.3/asterisk-11.25.3.tar.gz) = 9eda6648ca8fbc2afad987a4f45db6a2da16feee
+SHA512 (asterisk-11.25.3/asterisk-11.25.3.tar.gz) = 9c0521d55e5b69663ea40066d52e397ba6c165a4b20cd0a1e5e375b9c0e5a6e4f37908e50b0b580e288dec9be252af9a8bce7bceb03ba029f902fb757e6311ed
+Size (asterisk-11.25.3/asterisk-11.25.3.tar.gz) = 35134682 bytes
+SHA1 (asterisk-11.25.3/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 831ae6442e23cbef1e7d1c84798778ad0b0524d1
+RMD160 (asterisk-11.25.3/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = d52df795201c53fc4cd7d99ed41516e312f6f0f3
+SHA512 (asterisk-11.25.3/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = c7d3c3fd2c854e6776801312d34bf69bbed78a443c16121637f508c5275f18b1d415cbb6e4f6f8c5aa3769cbbfa1a11485b9972053777f3ac39256c2c81729f1
+Size (asterisk-11.25.3/asterisk-extra-sounds-en-gsm-1.5.tar.gz) = 4256538 bytes
 SHA1 (patch-Makefile) = 5fd774779d3c8d85936beca8a3407dd3011af2dc
 SHA1 (patch-addons_chan__ooh323.c) = 57f61a2edf0f9f022e03837230ee572ec9cf47b4
 SHA1 (patch-apps_app__confbridge.c) = c815905994355a19c32e8e3e2eb5dc9f1679eb29



Home | Main Index | Thread Index | Old Index