Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-1.9.git;a=commitdiff;h=5f018e64694bed635c3b76974af1c5903b24c61c
commit 5f018e64694bed635c3b76974af1c5903b24c61c Author: kikadf <[email protected]> Date: Thu Feb 13 10:10:16 2014 +0100 mumble-1.2.4-2arcturus1-x86_64 * Fix CVE-2014-0044, CVE-2014-0045 diff --git a/source/xapps-extra/mumble/CVE-2014-0044.patch b/source/xapps-extra/mumble/CVE-2014-0044.patch new file mode 100644 index 0000000..5b0e6bd --- /dev/null +++ b/source/xapps-extra/mumble/CVE-2014-0044.patch @@ -0,0 +1,26 @@ +Description: Fix denial-of-service vulnerability + CVE-2014-0044: A malformed Opus voice packet sent to a Mumble client + could trigger a NULL pointer dereference or an out-of-bounds array + access, leading to a crash (Denial of Service). +Origin: upstream +Last-Update: 2014-02-02 +Applied-Upstream: 1.2.5 + +--- a/src/mumble/AudioOutputSpeech.cpp ++++ b/src/mumble/AudioOutputSpeech.cpp +@@ -151,8 +151,15 @@ + int size; + pds >> size; + size &= 0x1fff; ++ if (size == 0) { ++ return; ++ } + + const QByteArray &qba = pds.dataBlock(size); ++ if (size != qba.size() || !pds.isValid()) { ++ return; ++ } ++ + const unsigned char *packet = reinterpret_cast<const unsigned char*>(qba.constData()); + + #ifdef USE_OPUS diff --git a/source/xapps-extra/mumble/CVE-2014-0045.patch b/source/xapps-extra/mumble/CVE-2014-0045.patch new file mode 100644 index 0000000..218148c --- /dev/null +++ b/source/xapps-extra/mumble/CVE-2014-0045.patch @@ -0,0 +1,25 @@ +diff -Naur mumble-1.2.4/src/mumble/AudioOutputSpeech.cpp mumble-1.2.4.new/src/mumble/AudioOutputSpeech.cpp +--- mumble-1.2.4/src/mumble/AudioOutputSpeech.cpp 2013-06-01 23:16:31.000000000 +0200 ++++ mumble-1.2.4.new/src/mumble/AudioOutputSpeech.cpp 2014-02-08 10:32:06.234518700 +0100 +@@ -335,6 +342,10 @@ + pOut, + iAudioBufferSize, + 0); ++ if (decodedSamples < 0) { ++ decodedSamples = iFrameSize; ++ memset(pOut, 0, iFrameSize * sizeof(float)); ++ } + #endif + } else { + if (qba.isEmpty()) { +@@ -384,6 +395,10 @@ + } else if (umtType == MessageHandler::UDPVoiceOpus) { + #ifdef USE_OPUS + decodedSamples = opus_decode_float(opusState, NULL, 0, pOut, iFrameSize, 0); ++ if (decodedSamples < 0) { ++ decodedSamples = iFrameSize; ++ memset(pOut, 0, iFrameSize * sizeof(float)); ++ } + #endif + } else { + speex_decode(dsSpeex, NULL, pOut); diff --git a/source/xapps-extra/mumble/FrugalBuild b/source/xapps-extra/mumble/FrugalBuild index a97d79d..fb412b2 100644 --- a/source/xapps-extra/mumble/FrugalBuild +++ b/source/xapps-extra/mumble/FrugalBuild @@ -7,7 +7,7 @@ options+=('asneeded') pkgname=mumble pkgver=1.2.4 -pkgrel=1 +pkgrel=2arcturus1 pkgdesc="A voice chat application similar to TeamSpeak" rodepends=('qt4-plugin-sqlite3') depends=('libqtdbus' 'speex' 'openssl>=1.0.0' 'alsa-lib' 'libqtsql' \ @@ -23,9 +23,16 @@ groups=('xapps-extra') archs=('i686' 'x86_64') sha1sums=('a1df48f98db4f7a80efd56c9cbfe996238203c19') +# FSA fix *** +source=(${source[@]} CVE-2014-0044.patch CVE-2014-0045.patch) +sha1sums=(${sha1sums[@]} '2ba53f5180e08a417d158fa92edcf6f6930fcded' \ + '9ad5140724fed61b65d2ce9e8a909382e5aee1e3') +# *********** + build() { Fcd - + Fpatchall + # Building mumble /usr/bin/qmake main.pro \ CONFIG+="bundled-celt no-bundled-speex no-speechd no-g15 no-xevie no-server \ _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
