CVE:CVE-2015-2783
CNNVD:CNNVD-201505-040
PHP（PHP：Hypertext Preprocessor，PHP：超文本预处理器）是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。该语言主要用于Web开发，支持多种数据库及操作系统。
PHP的ext/phar/phar.c文件中的‘phar_parse_metadata’和‘phar_parse_pharfile’函数存在安全漏洞。远程攻击者可借助phar归档中特制的长度值和序列化数据利用该漏洞获取进程内存中的敏感信息，或造成拒绝服务（缓冲区溢出读取和应用程序崩溃）。以下版本受到影响:PHP 5.4.40之前版本，5.5.24之前5.5.x版本，5.6.8之前5.6.x版本。
solution:Upgrade php php to a higher version than 5.4.39,5.5.0,5.5.0:alpha1,5.5.0:alpha2,5.5.0:alpha3,5.5.0:alpha4,5.5.0:alpha5,5.5.0:alpha6,5.5.0:beta1,5.5.0:beta2,5.5.0:beta3,5.5.0:beta4,5.5.0:rc1,5.5.0:rc2,5.5.1,5.5.2,5.5.3,5.5.4,5.5.5,5.5.6,5.5.7,5.5.8,5.5.9,5.5.10,5.5.11,5.5.12,5.5.13,5.5.14,5.5.18,5.5.19,5.5.20,5.5.21,5.5.22,5.5.23,5.6.0:alpha1,5.6.0:alpha2,5.6.0:alpha3,5.6.0:alpha4,5.6.0:alpha5,5.6.0:beta1,5.6.0:beta2,5.6.0:beta3,5.6.0:beta4,5.6.2,5.6.3,5.6.4,5.6.5,5.6.6,5.6.7,and avoid the version (,5.4.39],5.5.0,5.5.0:alpha1,5.5.0:alpha2,5.5.0:alpha3,5.5.0:alpha4,5.5.0:alpha5,5.5.0:alpha6,5.5.0:beta1,5.5.0:beta2,5.5.0:beta3,5.5.0:beta4,5.5.0:rc1,5.5.0:rc2,5.5.1,5.5.2,5.5.3,5.5.4,5.5.5,5.5.6,5.5.7,5.5.8,5.5.9,5.5.10,5.5.11,5.5.12,5.5.13,5.5.14,5.5.18,5.5.19,5.5.20,5.5.21,5.5.22,5.5.23,5.6.0:alpha1,5.6.0:alpha2,5.6.0:alpha3,5.6.0:alpha4,5.6.0:alpha5,5.6.0:beta1,5.6.0:beta2,5.6.0:beta3,5.6.0:beta4,5.6.2,5.6.3,5.6.4,5.6.5,5.6.6,5.6.7; Upgrade redhat enterprise_linux_desktop to a higher version than 7.0,and avoid the version 7.0; Upgrade redhat enterprise_linux_hpc_node to a higher version than 7.0,and avoid the version 7.0; Upgrade redhat enterprise_linux_hpc_node_eus to a higher version than 7.1,and avoid the version 7.1; Upgrade redhat enterprise_linux_server to a higher version than 7.0,and avoid the version 7.0; Upgrade redhat enterprise_linux_server_eus to a higher version than 7.1,and avoid the version 7.1; Upgrade redhat enterprise_linux_workstation to a higher version than 7.0,and avoid the version 7.0; Upgrade redhat enterprise_linux to a higher version than 6.0,7.0,and avoid the version 6.0,7.0; Upgrade apple mac_os_x to a higher version than 10.10.5,and avoid the version (,10.10.5]