udev: Multiple vulnerabilities — GLSA 200904-18

Two errors in udev allow for a local root compromise and a Denial of Service.

Affected Packages

sys-fs/udev on all architectures
Affected versions < 124-r2
Unaffected versions >= 124-r2

Background

udev is the device manager used in the Linux 2.6 kernel series.

Description

Sebastian Krahmer of SUSE discovered the following two vulnerabilities:

  • udev does not verify the origin of NETLINK messages properly (CVE-2009-1185).
  • A buffer overflow exists in the util_path_encode() function in lib/libudev-util.c (CVE-2009-1186).

Impact

A local attacker could gain root privileges by sending specially crafted NETLINK messages to udev or cause a Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All udev users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=sys-fs/udev-124-r2"

References

Release Date
April 18, 2009

Latest Revision
April 18, 2009: 01

Severity
high

Exploitable
local

Bugzilla entries