Hello community, here is the log from the commit of package telepathy-gabble for openSUSE:11.2 checked in at Tue Feb 22 15:30:54 CET 2011.
-------- --- old-versions/11.2/UPDATES/all/telepathy-gabble/telepathy-gabble.changes 2009-10-08 19:06:07.000000000 +0200 +++ 11.2/telepathy-gabble/telepathy-gabble.changes 2011-02-21 16:25:52.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Feb 21 16:24:17 CET 2011 - [email protected] + +- Add telepathy-gabble-CVE-2011-1000.patch: this fixes insufficient + input validation, that could be exploited. Fix CVE-2011-1000 and + bnc#673257. + +------------------------------------------------------------------- calling whatdependson for 11.2-i586 New: ---- telepathy-gabble-CVE-2011-1000.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ telepathy-gabble.spec ++++++ --- /var/tmp/diff_new_pack.dv3SUc/_old 2011-02-22 15:30:46.000000000 +0100 +++ /var/tmp/diff_new_pack.dv3SUc/_new 2011-02-22 15:30:46.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package telepathy-gabble (Version 0.8.5) +# spec file for package telepathy-gabble # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ Name: telepathy-gabble Version: 0.8.5 -Release: 0.<RELEASE1> +Release: 0.<RELEASE3> License: LGPLv2.1+ Summary: XMPP connection manager for Telepathy Url: http://telepathy.freedesktop.org/wiki/ @@ -27,6 +27,8 @@ Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-OPENSUSE telepathy-gabble-include-uuid-fix.patch [email protected] -- Fix build on 11.1 because of broken libuuid pkg-config file there. See bnc#489136 Patch: telepathy-gabble-include-uuid-fix.patch +# PATCH-FIX-UPSTREAM telepathy-gabble-CVE-2011-1000.patch CVE-2011-1000 bnc#673257 fdo#34048 [email protected] -- insufficient input validation, taken from upstream +Patch1: telepathy-gabble-CVE-2011-1000.patch BuildRequires: dbus-1-glib-devel BuildRequires: libsoup-devel BuildRequires: libuuid-devel @@ -61,6 +63,7 @@ %if 0%{suse_version} == 1110 %patch -p1 %endif +%patch1 -p1 %build %configure --docdir=%{_docdir}/%{name} ++++++ telepathy-gabble-CVE-2011-1000.patch ++++++ >From 797b8d189f2be77bdce55adb5c7b3070af19dce8 Mon Sep 17 00:00:00 2001 From: Will Thompson <[email protected]> Date: Tue, 8 Feb 2011 18:43:21 +0000 Subject: [PATCH] [0.8] Ignore google:jingleinfo pushes from contacts. Previously, Gabble would erroneously process google:jingleinfo updates sent by anybody, rather than only paying attention to those sent by the user's server. This may theoretically allow an attacker to trick Gabble into relaying streamed media through a server of the attacker's choosing, enabling them to intercept, obstruct or modify the user's audio and video calls. This patch addresses this flaw, following the same pattern as the corresponding check in the roster code. Note that even without this flaw, no security guarantees on media in calls can be provided in the presence of malicious network admins or insecure networks: an attacker who can eavesdrop the network traffic still has the ability to intercept the content of the call, as the media is transmitted unencrypted. Signed-off-by: Will Thompson <[email protected]> --- src/jingle-factory.c | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/src/jingle-factory.c b/src/jingle-factory.c index 217c8ab..3571246 100644 --- a/src/jingle-factory.c +++ b/src/jingle-factory.c @@ -245,6 +245,22 @@ got_jingle_info_stanza (GabbleJingleFactory *fac, GabbleJingleFactoryPrivate *priv = fac->priv; LmMessageSubType sub_type; LmMessageNode *query_node, *node; + const gchar *from = lm_message_node_get_attribute (message->node, "from"); + + if (from != NULL) + { + TpBaseConnection *base_conn = TP_BASE_CONNECTION (priv->conn); + TpHandleRepoIface *contact_repo = tp_base_connection_get_handles ( + base_conn, TP_HANDLE_TYPE_CONTACT); + TpHandle sender = tp_handle_lookup (contact_repo, from, NULL, NULL); + + if (sender != base_conn->self_handle) + { + DEBUG ("ignoring jingleinfo from '%s', not ourself nor the server", + from); + return LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS; + } + } query_node = lm_message_node_get_child_with_namespace (message->node, "query", NS_GOOGLE_JINGLE_INFO); -- 1.7.2.3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
