{"id":"UBUNTU-CVE-2019-12749","details":"dbus before 1.10.28, 1.12.x before 1.12.16, and 1.13.x before 1.13.12, as used in DBusServer in Canonical Upstart in Ubuntu 14.04 (and in some, less common, uses of dbus-daemon), allows cookie spoofing because of symlink mishandling in the reference implementation of DBUS_COOKIE_SHA1 in the libdbus library. (This only affects the DBUS_COOKIE_SHA1 authentication mechanism.) A malicious client with write access to its own home directory could manipulate a ~/.dbus-keyrings symlink to cause a DBusServer with a different uid to read and write in unintended locations. In the worst case, this could result in the DBusServer reusing a cookie that is known to the malicious client, and treating that cookie as evidence that a subsequent client connection came from an attacker-chosen uid, allowing authentication bypass.","modified":"2026-04-22T13:30:49.633188Z","published":"2019-06-11T15:00:00Z","related":["USN-4015-1","USN-4015-2"],"upstream":["CVE-2019-12749"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12749"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4015-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4015-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-12749"}],"affected":[{"package":{"name":"dbus","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.6.18-0ubuntu4.5+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.18-0ubuntu4.5+esm1"}]}],"versions":["1.6.12-0ubuntu10","1.6.18-0ubuntu1","1.6.18-0ubuntu2","1.6.18-0ubuntu3","1.6.18-0ubuntu4","1.6.18-0ubuntu4.1","1.6.18-0ubuntu4.2","1.6.18-0ubuntu4.3","1.6.18-0ubuntu4.4","1.6.18-0ubuntu4.5"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_name":"dbus","binary_version":"1.6.18-0ubuntu4.5+esm1"},{"binary_name":"dbus-x11","binary_version":"1.6.18-0ubuntu4.5+esm1"},{"binary_name":"libdbus-1-3","binary_version":"1.6.18-0ubuntu4.5+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12749.json"}},{"package":{"name":"dbus","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.10.6-1ubuntu3.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.6-1ubuntu3.4"}]}],"versions":["1.10.0-1ubuntu1","1.10.4-1ubuntu2","1.10.6-1ubuntu1","1.10.6-1ubuntu2","1.10.6-1ubuntu3","1.10.6-1ubuntu3.1","1.10.6-1ubuntu3.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dbus","binary_version":"1.10.6-1ubuntu3.4"},{"binary_name":"dbus-tests","binary_version":"1.10.6-1ubuntu3.4"},{"binary_name":"dbus-user-session","binary_version":"1.10.6-1ubuntu3.4"},{"binary_name":"dbus-x11","binary_version":"1.10.6-1ubuntu3.4"},{"binary_name":"libdbus-1-3","binary_version":"1.10.6-1ubuntu3.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12749.json"}},{"package":{"name":"dbus","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dbus@1.12.2-1ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.12.2-1ubuntu1.1"}]}],"versions":["1.10.22-1ubuntu1","1.12.0-1ubuntu1","1.12.2-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"dbus","binary_version":"1.12.2-1ubuntu1.1"},{"binary_name":"dbus-tests","binary_version":"1.12.2-1ubuntu1.1"},{"binary_name":"dbus-user-session","binary_version":"1.12.2-1ubuntu1.1"},{"binary_name":"dbus-x11","binary_version":"1.12.2-1ubuntu1.1"},{"binary_name":"libdbus-1-3","binary_version":"1.12.2-1ubuntu1.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12749.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}