Every CVE Search/ Get API key

CVE-2013-2142

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local...

3.3 LowFix available

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Exploit likelihood

0.27%Down 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 3.3

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
CVE-2013-2142
CVSS 2.0
3.3 LowAV:L/AC:M/Au:N/C:N/I:P/A:P
Weakness
CWE-59
Updated
2026-11-02
CVE List No score

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
CVE-2013-2142
Updated
2026-11-02
EUVDEUVD-2013-2107 No score

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
EUVD-2013-2107
Updated
2026-11-03
GitHub AdvisoriesGHSA-7wj3-4crv-vhfj No score

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local...

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
GHSA-7wj3-4crv-vhfj
Weakness
CWE-59
Updated
2026-11-02
OSV No score

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
CVE-2013-2142
Updated
2026-11-02
OSVDEBIAN-CVE-2013-2142 No score

userpref.c in libimobiledevice 1.1.4, when $HOME and $XDG_CONFIG_HOME are not set, allows local users to overwrite arbitrary files via a symlink attack on (1) HostCertificate.pem, (2) HostPrivateKey.pem, (3) libimobiledevicerc, (4) RootCertificate.pem, or (5) RootPrivateKey.pem in /tmp/root/.config/libimobiledevice/.

Record
DEBIAN-CVE-2013-2142
Updated
2026-11-02
OSVMGASA-2013-0251 No score

Updated libimobiledevice packages fix CVE-2013-2142

Updated libimobiledevice packages fix security vulnerability:

Paul Collins discovered that libimobiledevice incorrectly handled temporary files. A local attacker could possibly use this issue to overwrite arbitrary files and access device keys. In the default Ubuntu installation, this issue should be mitigated by the Yama link restrictions (CVE-2013-2142).

Record
MGASA-2013-0251
Updated
2026-11-02
OSVopenSUSE-SU-2024:10459-1 No score

imobiledevice-tools-1.2.0-3.4 on GA media

These are all security issues fixed in the imobiledevice-tools-1.2.0-3.4 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10459-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libimobiledevice
Debian:12
before 1.1.5-0.1
1.1.5-0.1
libimobiledevice
Debian:13
before 1.1.5-0.1
1.1.5-0.1
libimobiledevice
Debian:14
before 1.1.5-0.1
1.1.5-0.1
libimobiledevice
Mageia:3
before 1.1.4-4.1.mga3
1.1.4-4.1.mga3

History

History
RecordedChangedSources
facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-2142 is a low vulnerability (CVSS 3.3) in Libimobiledevice, published August 17, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.27%, the 18th percentile. Fixed in libimobiledevice 1.1.5-0.1.

References

Show 6 moreShow less
MoveEnter Open