{
  "schema_version": "1.7.0",
  "id": "MGASA-2015-0405",
  "published": "2015-10-25T14:38:05Z",
  "modified": "2015-10-25T14:33:18Z",
  "summary": "Updated dbus packages fixes security vulnerability",
  "details": "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 <auth> 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",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://advisories.mageia.org/MGASA-2015-0405.html"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.mageia.org/show_bug.cgi?id=15937"
    },
    {
      "type": "WEB",
      "url": "http://cgit.freedesktop.org/dbus/dbus/plain/NEWS?h=dbus-1.8"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=89297"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=90021"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=90312"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=90414"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=90952"
    },
    {
      "type": "REPORT",
      "url": "https://bugs.freedesktop.org/show_bug.cgi?id=91008"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "Mageia:5",
        "name": "dbus",
        "purl": "pkg:rpm/mageia/dbus?arch=source&distro=mageia-5"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.8.20-1.mga5"
            }
          ]
        }
      ],
      "ecosystem_specific": {
        "section": "core"
      }
    }
  ],
  "credits": [
    {
      "name": "Mageia",
      "type": "COORDINATOR",
      "contact": [
        "https://wiki.mageia.org/en/Packages_Security_Team"
      ]
    }
  ]
}
