usbmuxd: User-assisted execution of arbitrary code

2012-03-06T00:00:00
ID GLSA-201203-11
Type gentoo
Reporter Gentoo Foundation
Modified 2012-03-06T00:00:00

Description

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"