usbmuxd: User-assisted execution of arbitrary code — GLSA 201203-11

A buffer overflow vulnerability in usbmuxd could result in the execution of arbitrary code.

Affected packages

app-pda/usbmuxd on all architectures
Affected versions < 1.0.7-r1
Unaffected versions >= 1.0.7-r1

Background

usbmuxd is a USB multiplex daemon for use with Apple iPhone and iPod Touch devices.

Description

The "receive_packet()" function in libusbmuxd.c contains a boundary error when parsing the "SerialNumber" field of a USB device, which could cause a heap-based buffer overflow.

Impact

An attacker could gain physical access or entice a user to connect to a malicious USB device, possibly resulting in execution of arbitrary code with the privileges of the "usbmux" user.

Workaround

There is no known workaround at this time.

Resolution

All usbmuxd users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=app-pda/usbmuxd-1.0.7-r1"
 

References

Release date
March 06, 2012

Latest revision
March 06, 2012: 1

Severity
normal

Exploitable
local

Bugzilla entries