Commit graph

1241 commits

Author SHA1 Message Date
Jiri Slachta
e6a20f46da
Merge pull request #588 from micmac1/18.06AST
[18.06] asterisk-13.x: fix AST-2020-001 and 002
2020-11-23 21:53:18 +01:00
Sebastian Kemper
29c7836bf2 asterisk-13.x: fix AST-2020-001 and 002
Patches used:

http://downloads.asterisk.org/pub/security/AST-2020-001-13.diff
http://downloads.asterisk.org/pub/security/AST-2020-002-13.diff

Patch AST-2020-002-16.diff was amended a small bit in
include/asterisk/res_pjsip_session.h due to Asterisk 13 getting some
updates in the meantime which are not in OpenWrt.

Both patches refreshed in OpenWrt SDK.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2020-11-07 18:30:49 +01:00
micmac1
8ecbdabc7c
Merge pull request #499 from micmac1/18.06-fs-up
[18.06] freeswitch-stable: minor bump + cherry picks
2019-12-23 16:15:52 +01:00
Sebastian Kemper
7d8fc4b6e6 freeswitch-stable: fix weak md in gentls_cert
gentls_cert generates certificates that are deemed too weak by Debian's
OpenSSL (on Buster and up). This patch upgrades the message digest to
SHA256 to address this.

See patch for details. Sent upstream ([1]).

[1] https://github.com/signalwire/freeswitch/pull/126

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-23 14:35:17 +01:00
Sebastian Kemper
c524d5a712 freeswitch-stable: fix reINVITE after T38 is rejected
For comments see added patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-23 14:34:11 +01:00
Sebastian Kemper
27b589f0b2 freeswitch-stable: bump to 1.8.7
Version bump. Patches refreshed. Upstreamed patches removed.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-12-23 14:32:22 +01:00
Jiri Slachta
a2aef3164c
Merge pull request #489 from micmac1/18.06-AST-2019-006_007_008
[18.06] asterisk-1{3,5}.x: add fixes for AST-2019-006 and 007 (and 008)
2019-12-01 22:21:39 +01:00
micmac1
8d24147c8c
Merge pull request #494 from micmac1/fs-vpx-cve-1806
(18.06) freeswitch-stable: patch CVEs in included libvpx
2019-11-29 21:16:23 +01:00
Sebastian Kemper
ed56514f75 freeswitch-stable: patch CVEs in included libvpx
Patch taken from Debian Stretch, fixes:

CVE-2019-9232
CVE-2019-9325
CVE-2019-9433

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-29 21:09:33 +01:00
Sebastian Kemper
7b2b386421 asterisk-15.x: add fixes for AST-2019-006 and 007
https://downloads.asterisk.org/pub/security/AST-2019-006.html
https://downloads.asterisk.org/pub/security/AST-2019-007.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-22 20:13:30 +01:00
Sebastian Kemper
74e09c7c83 asterisk-13.x: add fixes for AST-2019-006 and 007 and 008
https://downloads.asterisk.org/pub/security/AST-2019-006.html
https://downloads.asterisk.org/pub/security/AST-2019-007.html
https://downloads.asterisk.org/pub/security/AST-2019-008.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-11-22 20:11:23 +01:00
Jiri Slachta
06a5323734
Merge pull request #457 from micmac1/AST-2019-004-18.06
[18.06] asterisk-15.x: add patch for AST-2019-004
2019-09-20 18:18:52 +02:00
Sebastian Kemper
83c48bd192 asterisk-15.x: add patch for AST-2019-004
Add patch for a remote crash vulnerability. Crash can occur when
negotiating for T.38 with a declined stream.

CVE-2019-15297

Refreshed some other patches.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-09-05 20:15:15 +02:00
Jiri Slachta
67181ed5da
Merge pull request #436 from micmac1/18-ast13-AST-2019-003
(for 18.06) asterisk-1{3,5}.x: fix AST-2019-003
2019-07-12 22:14:26 +02:00
Sebastian Kemper
1fd2890531 asterisk-15.x: fix AST-2019-003
https://downloads.asterisk.org/pub/security/AST-2019-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-07-12 20:23:13 +02:00
Sebastian Kemper
cc0658c853 asterisk-13.x: fix AST-2019-003
https://downloads.asterisk.org/pub/security/AST-2019-003.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-07-12 20:22:37 +02:00
micmac1
507eabe1b6
Merge pull request #432 from micmac1/fs-186-1806
(18.06) freeswitch-stable: bump to 1.8.6
2019-06-24 16:13:39 +02:00
Sebastian Kemper
13699a5010 freeswitch-stable: bump to 1.8.6
Backport from master.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-06-24 16:08:00 +02:00
Jiri Slachta
16bad9e04d
Merge pull request #415 from micmac1/AST-2019-001-18.06
asterisk-15.x (18.06): add patch for AST-2019-001
2019-04-09 19:16:57 +02:00
Sebastian Kemper
e88f00f4ad asterisk-15.x: add patch for AST-2019-001
Remote crash vulnerability with SDP protocol violation.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-03-19 10:51:52 +01:00
micmac1
cb939d9677
Merge pull request #406 from micmac1/fs-184-186
(18.06) bump freeswitch-stable & sngrep
2019-01-06 21:30:35 +01:00
Sebastian Kemper
1d11664d11 sngrep: bump to 1.4.6
Import from trunk. Run-tested on 18.06.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-01-06 21:23:29 +01:00
Sebastian Kemper
958eb54353 freeswitch-stable: bump to 1.8.4
Import from trunk. Run-tested on 18.06.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2019-01-06 21:20:48 +01:00
micmac1
457bfbfd28
Merge pull request #393 from micmac1/fs-182-1806
freeswitch-stable: upgrade to 1.8.2 on 18.06
2018-11-18 22:56:50 +01:00
Sebastian Kemper
3a562e2903 freeswitch-stable-mod-bcg729: revision bump
Revision bump to cause a rebuild.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-17 12:57:00 +01:00
Sebastian Kemper
a9c3b92d06 freeswitch-stable: import 1.8.2 from master
This upgrades freeswitch from 1.6.20 to 1.8.2. All changes imported from
master. Notable changes:

  Modules:
    - v8 removed as too difficult to maintain
    - new modules: fail2ban, raven and video_filter

  Init and hotplug:
    - changed init config to uci (/etc/default/freeswitch replaced with
      /etc/config/freeswitch)
    - logging can now be enabled via /etc/config/freeswitch
    - hotplug script is now included in the main package
    - the post-install script no longer disables freeswitch during
      upgrades

  Fixes:
    - freeswitch now sends console output properly to procd

  Misc:
    - the new release adds support for MSRP (Message Session Relay
      Protocol, see
      https://en.wikipedia.org/wiki/Message_Session_Relay_Protocol), this
      opens TCP ports by default, can be limited to localhost in
      autoload_configs/msrp.conf.xml

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-17 12:49:58 +01:00
Jiri Slachta
bdda0755a5
Merge pull request #392 from micmac1/openwrt-18.06-AST-2018-010
(18.06) asterisk-15.x: add patch for AST-2018-010
2018-11-15 15:55:13 +01:00
Sebastian Kemper
3659cae1df asterisk-15.x: add patch for AST-2018-010
Patch from upstream:

     Summary        Remote crash vulnerability DNS SRV and NAPTR lookups
Nature of Advisory  Denial Of Service
  Susceptibility    Remote Unauthenticated Sessions
     Severity       Moderate
  Exploits Known    No
    Reported On     October 23, 2018

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-11-14 22:03:40 +01:00
Jiri Slachta
4b15502e16
Merge pull request #382 from micmac1/kam-awk-18.06
kamailio-5.x: make jsonrpc filter portable
2018-10-13 16:01:13 +02:00
Sebastian Kemper
5624908abe kamailio-5.x: make jsonrpc filter portable
With OpenWrt default awk - so awk from busybox - the filter is broken,
causing jsonrpc calls to fail, i.e. when running "kamctl ps". Below
patch makes the filter portable. Patch was already accepted upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-10-13 10:01:49 +02:00
Jiri Slachta
b1981cc547
Merge pull request #380 from micmac1/yate-regex-18.06
yate for 18.06: revert to internal regex implementation
2018-10-09 08:20:02 +02:00
Sebastian Kemper
9382478803 yate: revert to internal regex implementation
Robert Högberg found that the regex implementation in musl isn't fully
compatible with yate, leading to unexpected regexp results. Fix this by
using the internal regex.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-10-02 20:25:53 +02:00
Jiri Slachta
db9be09007
Merge pull request #374 from micmac1/AST-2018-009-18.06
(18.06) Fix for AST-2018-009
2018-09-21 16:48:01 +02:00
Jiri Slachta
77fc63da79
Merge pull request #371 from micmac1/kama-cve
(OpenWrt 18.06) kamailio-5.x: add fix for CVE-2018-16657
2018-09-21 16:47:41 +02:00
Sebastian Kemper
83e60db057 asterisk-15.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:40:15 +02:00
Sebastian Kemper
c017ebc780 asterisk-13.x: fix for AST-2018-009
Add upstream fix for AST-2018-009: Remote crash vulnerability in HTTP
websocket upgrade

The vulnerability affects the res_http_websocket.so module.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-20 23:39:13 +02:00
Sebastian Kemper
eb990a8775 kamailio-5.x: add fix for CVE-2018-16657
In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a crafted SIP message with
an invalid Via header causes a segmentation fault and crashes Kamailio. The
reason is missing input validation in the crcitt_string_array core function
for calculating a CRC hash for To tags. (An additional error is present in
the check_via_address core function: this function also misses input
validation.) This could result in denial of service and potentially the
execution of arbitrary code.

Patch from upstream.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-09-12 20:25:56 +02:00
micmac1
f034df2dd8
Merge pull request #366 from micmac1/fs-perl-18.06
freeswitch-stable: fix perl setup
2018-08-16 22:19:58 +02:00
Sebastian Kemper
3dd44baa41 freeswitch-stable: fix perl setup
A recent commit in packages/lang/perl is causing a problem with the
perlmod.mk include. Work around this by including perlver.mk instead and
setting up PERL_CMD and PERL_SITELIB manually.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-16 22:16:00 +02:00
Jiri Slachta
b9d7b321d1
Merge pull request #361 from micmac1/kam-cve-18.06
kamailio-5.x: add fix for CVE-2018-14767
2018-08-11 13:06:22 +02:00
Sebastian Kemper
4a0a578f43 kamailio-5.x: add fix for CVE-2018-14767
CVE-2018-14767: "In Kamailio before 5.0.7 and 5.1.x before 5.1.4, a
crafted SIP message with a double "To" header and an empty "To" tag
causes a segmentation fault and crash. The reason is missing input
validation in the "build_res_buf_from_sip_req" core function. This could
result in denial of service and potentially the execution of arbitrary
code."

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-06 23:28:43 +02:00
micmac1
7fbb94503f
Merge pull request #359 from micmac1/fs-sigkill-openwrt-18.06
freeswitch-stable: add SIGKILL to init script
2018-08-05 15:09:17 +02:00
Sebastian Kemper
53b5b75af1 freeswitch-stable: add SIGKILL to init script
Sometimes freeswitch doesn't exit after receiving the SIGTERM signal.
This can be reproduced by sending SIGTERM to a freeswitch instance which
is initializing (which can take quite some time).

Instead of just giving up and exiting - leaving a hung freeswitch
process on the system - this commit adds some lines to the init script
that send SIGKILL to freeswitch in case the attempt to terminate it with
SIGTERM fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-08-05 15:04:16 +02:00
micmac1
88b12368f1
Merge pull request #353 from micmac1/fs-18.06
freeswitch-stable: backport fixes from master to 18.06
2018-07-22 11:38:18 +02:00
Sebastian Kemper
add8ec104f freeswitch-stable: backport pcre fix
Backport from master.

This patch is strictly speaking only needed for pcre 8.42 and up.
Add it anyway in case pcre maintainer decides to bump the version.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 11:21:57 +02:00
Sebastian Kemper
f6f229b1f2 freeswitch-stable: backport apr fix
Backport from master.

The macro APR_TRY_COMPILE_NO_WARNING included in apr/apr-util is
incorrect. It results in extra brackets being put into conftest.c, for
example:

  #include "confdefs.h"

[
  #include <stddef.h>
  #include <iconv.h>
  ]
int main(int argc, const char *const *argv) {
[
  iconv(0,(char **)0,(size_t *)0,(char **)0,(size_t *)0);
  ]
  return 0; }

The test always fails with:

error: expected identifier or '(' before '[' token

The following checks are affected:

- variable length arrays
- type of inbuf parameter to iconv

Fix from upstream (Apache).

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 09:29:22 +02:00
Sebastian Kemper
367854557b freeswitch-stable: backport iconv fixes
Backport iconv fixes from master.

- Include nls.mk and remove the uclibc iconv hack.

- The above change pointed to an issue with the unimrcp sed script. It
  is missing brackets, which causes follow-up breakage when APR_SETVAR
  is called, because the latter uses commas to separate its arguments -
  commas that TARGET_LDFLAGS contains when nls.mk is included. So add
  the missing brackets.

- mod_gsmopen is unable to detect whether iconv's inbuf is const. Update
  the patch so the Makefile can pass this information on to mod_gsmopen.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-07-22 09:21:38 +02:00
Jiri Slachta
278ca69386
Merge pull request #344 from micmac1/openwrt-18.06
(for OpenWrt 18.06): asterik: fix AST-2018-007 and AST-2018-008
2018-06-28 10:43:16 +02:00
Sebastian Kemper
4cae5e6c75 asterisk-15.x: patch AST-2018-007 and 008
Patches from upstream for:

AST-2018-007
AST-2018-008

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:40:01 +02:00
Sebastian Kemper
e4645ea637 asterisk-13.x: patch AST-2018-008
Patch from upstream for AST-2018-008.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2018-06-26 19:39:04 +02:00