Symlink Attack Affecting libimobiledevice/libimobiledevice package, versions [,1.1.4]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBIMOBILEDEVICELIBIMOBILEDEVICE-2366327
  • published26 Jan 2022
  • disclosed19 Jan 2014
  • creditUnknown

Introduced: 19 Jan 2014

CVE-2013-2142  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

There is no fixed version for libimobiledevice/libimobiledevice.

Overview

Affected versions of this package are vulnerable to Symlink Attack 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/.

References

CVSS Base Scores

version 3.1