中危 PHP 信息泄露漏洞(CVE-2022-31631)

CVE编号

CVE-2022-31631

利用情况

暂无

补丁情况

官方补丁

披露时间

2023-01-05
漏洞描述
7.4.33、8.0.25 和 8.2.12 之前的 PHP 版本中,在 gd 扩展中使用 imageloadfont() 函数时,可以提供特制的字体文件,例如加载的字体与 imagechar() 一起使用函数,将使用读取外部分配的缓冲区。这可能会导致崩溃或信息泄露。
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
系统 alibaba_cloud_linux_3 php * Up to
(excluding)
7.4.33-1.0.1.al8
运行在以下环境
系统 alma_linux_9 php * Up to
(excluding)
8.0.27-1.el9_1
运行在以下环境
系统 alpine_3.16 php8 * Up to
(excluding)
8.1.14-r0
运行在以下环境
系统 alpine_3.17 php81 * Up to
(excluding)
8.1.14-r0
运行在以下环境
系统 alpine_3.18 php81 * Up to
(excluding)
8.2.1-r0
运行在以下环境
系统 alpine_3.19 php81 * Up to
(excluding)
8.2.1-r0
运行在以下环境
系统 amazon_2 php * Up to
(excluding)
8.2.1-1.amzn2
运行在以下环境
系统 amazon_2022 php8.1 * Up to
(excluding)
8.1.14-1.amzn2022.0.1
运行在以下环境
系统 amazon_2023 php8.1 * Up to
(excluding)
8.1.14-1.amzn2023.0.2
运行在以下环境
系统 debian_10 php7.3 * Up to
(excluding)
7.3.31-1~deb10u3
运行在以下环境
系统 debian_11 php7.4 * Up to
(excluding)
7.4.33-1+deb11u3
运行在以下环境
系统 debian_12 php8.2 * Up to
(excluding)
8.2.1-1
运行在以下环境
系统 fedora_36 php * Up to
(excluding)
8.1.14-1.fc36
运行在以下环境
系统 fedora_37 php * Up to
(excluding)
8.1.14-1.fc37
运行在以下环境
系统 opensuse_Leap_15.4 php8 * Up to
(excluding)
8.0.27-150400.4.23.1
运行在以下环境
系统 oracle_9 php * Up to
(excluding)
8.0.27-1.el9_1
运行在以下环境
系统 redhat_9 php * Up to
(excluding)
8.0.27-1.el9_1
运行在以下环境
系统 rocky_linux_9 php * Up to
(excluding)
8.0.27-1.el9_1
运行在以下环境
系统 ubuntu_18.04 php7.2 * Up to
(excluding)
7.2.24-0ubuntu0.18.04.16
运行在以下环境
系统 ubuntu_20.04 php7.4 * Up to
(excluding)
7.4.3-4ubuntu2.17
运行在以下环境
系统 ubuntu_22.04 php8.1 * Up to
(excluding)
8.1.2-1ubuntu2.10
运行在以下环境
系统 ubuntu_22.10 php8.1 * Up to
(excluding)
8.1.7-1ubuntu3.2
阿里云评分
5.7
  • 攻击路径
    本地
  • 攻击复杂度
    困难
  • 权限要求
    普通权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-190 整数溢出或超界折返
阿里云安全产品覆盖情况