CVE-2013-2142

NameCVE-2013-2142
Descriptionuserpref.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/.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs710885

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libimobiledevice (PTS)buster1.2.1~git20181030.92c5462-2+deb10u1fixed
bookworm, bullseye1.3.0-6fixed
sid, trixie1.3.0-7.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libimobiledevicesourcesqueeze(not affected)
libimobiledevicesourcewheezy(not affected)
libimobiledevicesource(unstable)1.1.5-0.1low710885

Notes

[squeeze] - libimobiledevice <not-affected> (Vulnerable code was introduced later)
[wheezy] - libimobiledevice <not-affected> (Vulnerable code was introduced later)

Search for package or bug name: Reporting problems