Bug 218055

Summary: CVE-2006-6107 D-Bus denial of service
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: dbusAssignee: David Zeuthen <davidz>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: johnp, mclasen, redbugme3210, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: source=redhat,reported=20061127,impact=moderate,public=20061212
Fixed In Version: RHSA-2007-0008 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-08 08:39:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Josh Bressers 2006-12-01 16:16:38 UTC
Kimmo Hämäläinen reported a DoS flaw in D-Bus to the freedesktop.org
bugzilla.  To quote his bug:

        I found a nasty bug from match_rule_equal() that can cause matches
        to be removed from another connections (thanks goes to other guys
        for finding reproducable use case for the bug).

This flaw can cause a local user to disable the the ability of another
process to receive certain messages.  This flaw does not contain any
potential for arbitrary code execution.  Here is a more details description
from Kimmo:

        We don't have the software public yet, but the use case was the
        following.  There are three processes A, B, and C. All of them add
        the same match (same value). A is started first, then B, and lastly
        C. Now, B and C are closed: if B is closed before C, A's match is
        removed; but if C is closed before B, A's match is not removed (no
        buggy behaviour). (B and C call dbus_bus_remove_match on exit.)

Comment 1 David Zeuthen 2006-12-01 18:16:51 UTC
What's the upstream bug reference?


Comment 2 Josh Bressers 2006-12-01 19:40:44 UTC
I'm adding a reference to the upstream bug.  This is going to affect REHL5 also,
but I won't file a bug for that until after the embargo (too many embargoed bugs
cause trouble)

Comment 3 David Zeuthen 2006-12-11 17:58:55 UTC
Please add me (david) to the upstream bug and/or post the patch here.
Then I can get packages built. Thanks.

Comment 4 Josh Bressers 2006-12-11 20:15:10 UTC
OK, You're added to the upstream bug.

Comment 6 David Zeuthen 2006-12-11 21:16:46 UTC
Upstream patch is for D-Bus 0.61 - RHEL-4 ships 0.22. Let me ask upstream.

Comment 13 Josh Bressers 2006-12-13 22:02:27 UTC
Lifting embargo.
This will be fixed in RHSA-2006:0757

Comment 23 Red Hat Bugzilla 2007-02-08 08:39:41 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0008.html