{"id":"MGASA-2015-0405","aliases":[],"status":"published","title":"Updated dbus packages fixes security vulnerability","description":"Updated dbus packages provides security hardening and fixes some bugs\n\nSecurity hardening:\n\nOn Unix platforms, change the default configuration for the session bus\nto only allow EXTERNAL authentication (secure kernel-mediated\ncredentials-passing), as was already done for the system bus.\n\nThis avoids falling back to DBUS_COOKIE_SHA1, which relies on strongly\nunpredictable pseudo-random numbers; under certain circumstances\n(/dev/urandom unreadable or malloc() returns NULL), dbus could\nfall back to using rand(), which does not have the desired\nunpredictability. The fallback to rand() has not been changed in this\nstable-branch since the necessary code changes for correct error-handling\nare rather intrusive.\n\nIf you are using D-Bus over the (unencrypted!) tcp: or nonce-tcp:\ntransport, in conjunction with DBUS_COOKIE_SHA1 and a shared home\ndirectory using NFS or similar, you will need to reconfigure the session\nbus to accept DBUS_COOKIE_SHA1 by commenting out the \u003cauth\u003e element. This\nconfiguration is not recommended.\n\nOther fixes:\n\nFix a memory leak when GetConnectionCredentials() succeeds\n(fd.o #91008, Jacek Bukarewicz)\n\nEnsure that dbus-monitor does not reply to messages intended for others\n(fd.o #90952, Simon McVittie)\n\nAdd locking to DBusCounter's reference count and notify function\n(fd.o #89297, Adrian Szyndela)\n\nEnsure that DBusTransport's reference count is protected by the\ncorresponding DBusConnection's lock (fd.o #90312, Adrian Szyndela)\n\nCorrectly release DBusServer mutex before early-return if we run out\nof memory while copying authentication mechanisms (fd.o #90021,\nRalf Habacker)\n\nCorrectly initialize all fields of DBusTypeReader (fd.o #90021;\nRalf Habacker, Simon McVittie)\n\nClean up some memory leaks in test code (fd.o #90021, Ralf Habacker)","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2015-10-25T14:38:05Z","modified":"2026-04-16T04:27:58Z","fixes":[{"ecosystem":"Mageia:5","package":"dbus","fixed_in":["1.8.20-1.mga5"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Mageia:5","package":"dbus","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.8.20-1.mga5"}]}]}],"references":[{"url":"https://advisories.mageia.org/MGASA-2015-0405.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15937","tags":["report"]},{"url":"http://cgit.freedesktop.org/dbus/dbus/plain/NEWS?h=dbus-1.8","tags":["web"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=89297","tags":["report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=90021","tags":["report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=90312","tags":["report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=90414","tags":["report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=90952","tags":["report"]},{"url":"https://bugs.freedesktop.org/show_bug.cgi?id=91008","tags":["report"]}],"sources":{"osv":[{"id":"MGASA-2015-0405","title":"Updated dbus packages fixes security vulnerability","description":"Updated dbus packages provides security hardening and fixes some bugs\n\nSecurity hardening:\n\nOn Unix platforms, change the default configuration for the session bus\nto only allow EXTERNAL authentication (secure kernel-mediated\ncredentials-passing), as was already done for the system bus.\n\nThis avoids falling back to DBUS_COOKIE_SHA1, which relies on strongly\nunpredictable pseudo-random numbers; under certain circumstances\n(/dev/urandom unreadable or malloc() returns NULL), dbus could\nfall back to using rand(), which does not have the desired\nunpredictability. The fallback to rand() has not been changed in this\nstable-branch since the necessary code changes for correct error-handling\nare rather intrusive.\n\nIf you are using D-Bus over the (unencrypted!) tcp: or nonce-tcp:\ntransport, in conjunction with DBUS_COOKIE_SHA1 and a shared home\ndirectory using NFS or similar, you will need to reconfigure the session\nbus to accept DBUS_COOKIE_SHA1 by commenting out the \u003cauth\u003e element. This\nconfiguration is not recommended.\n\nOther fixes:\n\nFix a memory leak when GetConnectionCredentials() succeeds\n(fd.o #91008, Jacek Bukarewicz)\n\nEnsure that dbus-monitor does not reply to messages intended for others\n(fd.o #90952, Simon McVittie)\n\nAdd locking to DBusCounter's reference count and notify function\n(fd.o #89297, Adrian Szyndela)\n\nEnsure that DBusTransport's reference count is protected by the\ncorresponding DBusConnection's lock (fd.o #90312, Adrian Szyndela)\n\nCorrectly release DBusServer mutex before early-return if we run out\nof memory while copying authentication mechanisms (fd.o #90021,\nRalf Habacker)\n\nCorrectly initialize all fields of DBusTypeReader (fd.o #90021;\nRalf Habacker, Simon McVittie)\n\nClean up some memory leaks in test code (fd.o #90021, Ralf Habacker)\n","status":"published","published":"2015-10-25T14:38:05Z","modified":"2026-04-16T04:27:58.842218Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
