gd:gd_color_match.c中gdImageColorMatch()中基于堆的缓冲区溢出

admin 2023-11-25 01:32:10 Ali_highrisk 来源:ZONE.CI 全球网 0 阅读模式
高危 gd:gd_color_match.c中gdImageColorMatch()中基于堆的缓冲区溢出

CVE编号

CVE-2019-6977

利用情况

EXP 已公开

补丁情况

官方补丁

披露时间

2019-01-27
漏洞描述
gdImageColorMatch在GD图形库(又名LibGD)2.2.5中的gd_color_match.c中,用于5.6.40之前的PHP,7.1.26之前的7.x,7.2.14之前的7.2.x和在7.3.1之前的7.3x中的imagecolormatch函数中,有一个基于堆的缓冲区溢出。这可以被攻击者利用,该攻击者能够使用精心制作的图像数据触发imagecolormatch调用。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00025.html
http://lists.opensuse.org/opensuse-security-announce/2019-04/msg00031.html
http://packetstormsecurity.com/files/152459/PHP-7.2-imagecolormatch-Out-Of-Ba...
http://php.net/ChangeLog-5.php
http://php.net/ChangeLog-7.php
http://www.securityfocus.com/bid/106731
https://access.redhat.com/errata/RHSA-2019:2519
https://access.redhat.com/errata/RHSA-2019:3299
https://bugs.php.net/bug.php?id=77270
https://lists.debian.org/debian-lts-announce/2019/01/msg00028.html
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedora...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://lists.fedoraproject.org/archives/list/[email protected]...
https://security.gentoo.org/glsa/201903-18
https://security.netapp.com/advisory/ntap-20190315-0003/
https://usn.ubuntu.com/3900-1/
https://www.debian.org/security/2019/dsa-4384
https://www.exploit-db.com/exploits/46677/
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 libgd libgd 2.2.5 -
运行在以下环境
应用 netapp storage_automation_store * -
运行在以下环境
应用 php php * Up to (excluding) 5.6.40
运行在以下环境
应用 php php * From (including) 7.0.0 Up to (excluding) 7.1.26
运行在以下环境
应用 php php * From (including) 7.2.0 Up to (excluding) 7.2.14
运行在以下环境
应用 php php 7.3.0 -
运行在以下环境
系统 alpine_3.10 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.11 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.12 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.13 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.14 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.15 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.16 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.17 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.18 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.6 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.7 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.8 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_3.9 gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 alpine_edge gd * Up to (excluding) 2.2.5-r2
运行在以下环境
系统 centos_8 gd-debuginfo * Up to (excluding) 2.2.5-7.el8
运行在以下环境
系统 debian_10 libgd2 * Up to (excluding) 7.3.1-1
运行在以下环境
系统 debian_11 libgd2 * Up to (excluding) 2.2.5-5.1
运行在以下环境
系统 debian_12 libgd2 * Up to (excluding) 2.2.5-5.1
运行在以下环境
系统 debian_sid libgd2 * Up to (excluding) 2.2.5-5.1
运行在以下环境
系统 fedora_29 gd-progs-debuginfo * Up to (excluding) 2.2.5-8.fc29
运行在以下环境
系统 fedora_30 gd-progs-debuginfo * Up to (excluding) 2.2.5-9.fc30
运行在以下环境
系统 fedora_31 gd-progs-debuginfo * Up to (excluding) 2.2.5-10.fc31
运行在以下环境
系统 fedora_32 gd-progs-debuginfo * Up to (excluding) 2.3.0-1.fc32
运行在以下环境
系统 opensuse_Leap_15.0 gd * Up to (excluding) 2.2.5-lp150.8.1
运行在以下环境
系统 opensuse_Leap_42.3 gd * Up to (excluding) 5.5.14-112.1
运行在以下环境
系统 oracle_8 oraclelinux-release * Up to (excluding) 2.2.5-7.el8
运行在以下环境
系统 redhat_8 gd-debuginfo * Up to (excluding) 2.2.5-7.el8
运行在以下环境
系统 suse_11_SP4 php53-odbc * Up to (excluding) 5.3.17-112.53.1
运行在以下环境
系统 suse_12 gd * Up to (excluding) 2.1.0-24.12
运行在以下环境
系统 suse_12_SP3 gd * Up to (excluding) 2.1.0-24.12.1
运行在以下环境
系统 suse_12_SP4 gd * Up to (excluding) 2.1.0-24.12.1
运行在以下环境
系统 ubuntu_14.04 libgd2 * Up to (excluding) 2.1.0-3ubuntu0.11
运行在以下环境
系统 ubuntu_14.04.6_lts libgd2 * Up to (excluding) 2.1.0-3ubuntu0.11
运行在以下环境
系统 ubuntu_16.04 libgd2 * Up to (excluding) 2.1.1-4ubuntu0.16.04.11
运行在以下环境
系统 ubuntu_16.04.7_lts libgd2 * Up to (excluding) 2.1.1-4ubuntu0.16.04.11
运行在以下环境
系统 ubuntu_18.04 libgd2 * Up to (excluding) 2.2.5-4ubuntu0.3
运行在以下环境
系统 ubuntu_18.04.5_lts libgd2 * Up to (excluding) 2.2.5-4ubuntu0.3
运行在以下环境
系统 ubuntu_18.10 libgd2 * Up to (excluding) 2.2.5-4ubuntu1.1
阿里云评分 8.8
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 普通权限
  • 影响范围 全局影响
  • EXP成熟度 EXP 已公开
  • 补丁情况 官方补丁
  • 数据保密性 数据泄露
  • 数据完整性 传输被破坏
  • 服务器危害 服务器失陷
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-787 跨界内存写
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论:0   参与:  2