{"id":"UBUNTU-CVE-2014-5459","details":"The PEAR_REST class in REST.php in PEAR in PHP through 5.6.0 allows local users to write to arbitrary files via a symlink attack on a (1) rest.cachefile or (2) rest.cacheid file in /tmp/pear/cache/, related to the retrieveCacheFirst and useLocalCache functions.","modified":"2026-05-20T16:03:08.853872805Z","published":"2014-09-27T10:55:00Z","upstream":["CVE-2014-5459"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2014-5459"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2014-5459"}],"affected":[{"package":{"name":"php5","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/php5?arch=source&distro=esm-infra-legacy%2Ftrusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.3+dfsg-1ubuntu2","5.5.3+dfsg-1ubuntu3","5.5.6+dfsg-1ubuntu1","5.5.6+dfsg-1ubuntu2","5.5.8+dfsg-2ubuntu1","5.5.9+dfsg-1ubuntu1","5.5.9+dfsg-1ubuntu2","5.5.9+dfsg-1ubuntu3","5.5.9+dfsg-1ubuntu4","5.5.9+dfsg-1ubuntu4.1","5.5.9+dfsg-1ubuntu4.2","5.5.9+dfsg-1ubuntu4.3","5.5.9+dfsg-1ubuntu4.4","5.5.9+dfsg-1ubuntu4.5","5.5.9+dfsg-1ubuntu4.6","5.5.9+dfsg-1ubuntu4.7","5.5.9+dfsg-1ubuntu4.9","5.5.9+dfsg-1ubuntu4.11","5.5.9+dfsg-1ubuntu4.12","5.5.9+dfsg-1ubuntu4.13","5.5.9+dfsg-1ubuntu4.14","5.5.9+dfsg-1ubuntu4.16","5.5.9+dfsg-1ubuntu4.17","5.5.9+dfsg-1ubuntu4.19","5.5.9+dfsg-1ubuntu4.20","5.5.9+dfsg-1ubuntu4.21","5.5.9+dfsg-1ubuntu4.22","5.5.9+dfsg-1ubuntu4.23","5.5.9+dfsg-1ubuntu4.24","5.5.9+dfsg-1ubuntu4.25","5.5.9+dfsg-1ubuntu4.26","5.5.9+dfsg-1ubuntu4.27","5.5.9+dfsg-1ubuntu4.29","5.5.9+dfsg-1ubuntu4.29+esm1","5.5.9+dfsg-1ubuntu4.29+esm2","5.5.9+dfsg-1ubuntu4.29+esm3","5.5.9+dfsg-1ubuntu4.29+esm4","5.5.9+dfsg-1ubuntu4.29+esm5","5.5.9+dfsg-1ubuntu4.29+esm6","5.5.9+dfsg-1ubuntu4.29+esm8","5.5.9+dfsg-1ubuntu4.29+esm10","5.5.9+dfsg-1ubuntu4.29+esm11","5.5.9+dfsg-1ubuntu4.29+esm12","5.5.9+dfsg-1ubuntu4.29+esm13","5.5.9+dfsg-1ubuntu4.29+esm14","5.5.9+dfsg-1ubuntu4.29+esm15","5.5.9+dfsg-1ubuntu4.29+esm16"],"ecosystem_specific":{"binaries":[{"binary_name":"libapache2-mod-php5","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"libapache2-mod-php5filter","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"libphp5-embed","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php-pear","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-cgi"},{"binary_name":"php5-cli","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-common"},{"binary_name":"php5-curl","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-enchant","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-fpm","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-gd","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-gmp","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-intl","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-ldap","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-mysql","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-mysqlnd","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-odbc"},{"binary_name":"php5-pgsql","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-pspell","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-readline","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-recode","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-snmp"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-sqlite"},{"binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16","binary_name":"php5-sybase"},{"binary_name":"php5-tidy","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-xmlrpc","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"},{"binary_name":"php5-xsl","binary_version":"5.5.9+dfsg-1ubuntu4.29+esm16"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.1+submodules+notgz-4","1:1.10.1+submodules+notgz-6","1:1.10.1+submodules+notgz-6ubuntu0.1","1:1.10.1+submodules+notgz-6ubuntu0.2","1:1.10.1+submodules+notgz-6ubuntu0.3","1:1.10.1+submodules+notgz-6ubuntu0.3+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.1+submodules+notgz-6ubuntu0.3+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.5+submodules+notgz-1","1:1.10.5+submodules+notgz-1ubuntu1","1:1.10.5+submodules+notgz-1ubuntu1.18.04.1","1:1.10.5+submodules+notgz-1ubuntu1.18.04.2","1:1.10.5+submodules+notgz-1ubuntu1.18.04.3","1:1.10.5+submodules+notgz-1ubuntu1.18.04.4"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.5+submodules+notgz-1ubuntu1.18.04.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.9+submodules+notgz-1","1:1.10.9+submodules+notgz-1ubuntu0.20.04.1","1:1.10.9+submodules+notgz-1ubuntu0.20.04.2","1:1.10.9+submodules+notgz-1ubuntu0.20.04.3"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.9+submodules+notgz-1ubuntu0.20.04.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.12+submodules+notgz+20210212-1ubuntu1","1:1.10.12+submodules+notgz+20210212-1ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.12+submodules+notgz+20210212-1ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.13+submodules+notgz+2022032202-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"1:1.10.13+submodules+notgz+2022032202-2build1","binary_name":"php-pear"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.13+submodules+notgz+2022032202-2build1","1:1.10.16+submodules+notgz-3"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.16+submodules+notgz-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}},{"package":{"name":"php-pear","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/php-pear?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:1.10.16+submodules+notgz-3","1:1.10.16+submodules+notgz-3build1","1:1.10.16+submodules+notgz-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"php-pear","binary_version":"1:1.10.16+submodules+notgz-3ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2014/UBUNTU-CVE-2014-5459.json"}}],"schema_version":"1.7.5","severity":[{"type":"Ubuntu","score":"negligible"}]}