D-Bus, GLib: Privilege escalation — GLSA 201406-01

A vulnerability has been found in D-Bus which allows local attackers to gain escalated privileges.

Affected packages

sys-apps/dbus on all architectures
Affected versions < 1.6.8
Unaffected versions >= 1.6.8
dev-libs/glib on all architectures
Affected versions < 2.32.4-r1
Unaffected versions >= 2.32.4-r1

Background

D-Bus is a daemon providing a framework for applications to communicate with one another. GLib is a library providing a number of GNOME’s core objects and functions.

Description

When libdbus is used in a setuid program, a user can gain escalated privileges by leveraging the DBUS_SYSTEM_BUS_ADDRESS variable. GLib can be used in a setuid context with D-Bus, and so can trigger this vulnerability. Please review the CVE identifier below for more details.

Impact

A local attacker could gain escalated privileges and execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All D-Bus users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-apps/dbus-1.6.8"
 

All GLib users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-libs/glib-2.32.4-r1"
 

References

Release date
June 01, 2014

Latest revision
June 01, 2014: 1

Severity
high

Exploitable
local

Bugzilla entries