summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjnemeth <jnemeth@pkgsrc.org>2018-07-16 23:21:58 +0000
committerjnemeth <jnemeth@pkgsrc.org>2018-07-16 23:21:58 +0000
commit851b3d2118f7743d4ab126c180ad23a155f99a16 (patch)
treebae25c9011635d5733cf6066e962731bede8908d /comms
parentdcf547f9318be297af232690e550da1c147e07b6 (diff)
downloadpkgsrc-851b3d2118f7743d4ab126c180ad23a155f99a16.tar.gz
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 (limited to 'comms')
-rw-r--r--comms/asterisk/Makefile6
-rw-r--r--comms/asterisk/distinfo18
2 files changed, 12 insertions, 12 deletions
diff --git a/comms/asterisk/Makefile b/comms/asterisk/Makefile
index 7326ab85899..af456899e7d 100644
--- a/comms/asterisk/Makefile
+++ b/comms/asterisk/Makefile
@@ -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 --git a/comms/asterisk/distinfo b/comms/asterisk/distinfo
index f4d139ceccf..fb2d2e5d542 100644
--- a/comms/asterisk/distinfo
+++ b/comms/asterisk/distinfo
@@ -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