低危 PHP up to 5.6.11 GD Graphics Library gd_interpolation.c imagescale 拒绝服务漏洞

CVE编号

CVE-2015-8877

利用情况

暂无

补丁情况

官方补丁

披露时间

2016-05-22
漏洞描述
PHP(PHP:Hypertext Preprocessor,PHP:超文本预处理器)是PHP Group和开放源代码社区共同维护的一种开源的通用计算机脚本语言。该语言支持多重语法、支持多数据库及操作系统和支持C、C++进行程序扩展等。GD Graphics Library(又名libgd或libgd2)是美国软件开发者Thomas Boutell所研发的一个开源的用于动态创建图像的库,它支持创建图表、图形和缩略图等。

PHP 5.6.12之前版本中使用的GD Graphics Library 2.2.0之前版本中的gd_interpolation.c文件中的‘gdImageScaleTwoPass’函数存在拒绝服务漏洞,该漏洞源于程序使用不一致的分配和释放方法。远程攻击者可借助特制的调用利用该漏洞造成拒绝服务(内存消耗)。
解决建议
目前厂商已经发布了升级补丁以修复此安全问题,补丁获取链接:
https://github.com/libgd/libgd/commit/4751b606fa38edc456d627140898a7ec679fcc24
http://www.php.net/ChangeLog-5.php
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 libgd libgd * Up to
(including)
2.1.1
运行在以下环境
应用 php php * Up to
(including)
5.6.11
运行在以下环境
系统 debian DPKG * Up to
(excluding)
5.6.12+dfsg-0+deb8u1
运行在以下环境
系统 debian_10 libgd2 * Up to
(excluding)
2.2.1-1
运行在以下环境
系统 debian_11 libgd2 * Up to
(excluding)
2.2.1-1
运行在以下环境
系统 debian_12 libgd2 * Up to
(excluding)
2.2.1-1
运行在以下环境
系统 fedora_22 gd * Up to
(excluding)
2.1.1-4.fc22
运行在以下环境
系统 fedora_23 gd * Up to
(excluding)
2.1.1-6.fc23
运行在以下环境
系统 fedora_24 gd * Up to
(excluding)
2.2.1-1.fc24
运行在以下环境
系统 opensuse_13.2 php5-tidy * Up to
(excluding)
5.6.1-66.1
运行在以下环境
系统 opensuse_Leap_42.1 php5-dba * Up to
(excluding)
5.5.14-53.1
运行在以下环境
系统 suse_12 apache2-mod_php5 * Up to
(excluding)
19.1
运行在以下环境
系统 suse_12_SP1 libc-client2007e_suse-2007e_suse * Up to
(excluding)
19.1
运行在以下环境
系统 ubuntu_14.04 libgd2 * Up to
(excluding)
2.1.0-3ubuntu0.1
运行在以下环境
系统 ubuntu_14.04.6_lts libgd2 * Up to
(excluding)
2.1.0-3ubuntu0.1
运行在以下环境
系统 ubuntu_16.04 libgd2 * Up to
(excluding)
2.1.1-4ubuntu0.16.04.1
运行在以下环境
系统 ubuntu_16.04.7_lts libgd2 * Up to
(excluding)
2.1.1-4ubuntu0.16.04.1
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-399 资源管理错误
阿里云安全产品覆盖情况