Red Hat Bugzilla – Bug 970172
CVE-2013-2142 libimobiledevice: Insecure temporary file use when both $XDG_CONFIG_HOME and $HOME are unset
Last modified: 2015-07-31 03:07:07 EDT
An insecure temporary file use flaw was found in the way libimobiledevice, a library for connecting to mobile devices including phones and music players, used to create temporary directory (to hold certificate files) when both of $XDG_CONFIG_HOME and $HOME variables were undefined. A local attacker could use this flaw to conduct symbolic link attacks (possibly leading to their ability to overwrite content of arbitrary directory accessible with the privileges of the user running the application linked against libimobiledevice).
This issue did NOT affect the version of the libimobiledevice, as shipped with Red Hat Enterprise Linux 6.
This issue affects the versions of the libimobiledevice, as shipped with Fedora release of 17 and 18. Please schedule an update (once there is final upstream patch available).
Created libimobiledevice tracking bugs for this issue
Affects: fedora-all [bug 970175]
Not vulnerable. This issue did not affect the version of libimobiledevice as shipped with Red Hat Enterprise Linux 6 as it did not include the upstream commit 825da48d2e9c20086c4e34869da0b28376676b4c that introduced this issue.
The CVE identifier of CVE-2013-2142 has been assigned to this issue:
Does this also affect unreleased versions?
Relevant upstream patch:
(In reply to Bastien Nocera from comment #6)
> Does this also affect unreleased versions?
Looks it got fixed in 1.2.0 upstream version already. I don't have iPod phone to try if the fix works, but patch in previous comment seems to be applicable to recent Fedora versions.
libplist-1.11-2.fc20, libusbmuxd-1.0.9-2.fc20, libimobiledevice-1.1.6-2.fc20, usbmuxd-1.0.9-0.4.c24463e.fc20, ifuse-1.1.3-3.fc20, libgpod-0.8.3-2.fc20, upower-0.9.23-3.fc20, gvfs-1.18.3-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
Fixed in all current Fedora releases