安全公告/【CVE-2022-31630】

基本信息

漏洞名称:
受影响操作系统:Asianux
危险等级:高危
影响源码包:php
CVSS评分:7.1
发现日期:2023-09-12
修复版本:php-8.0.30-1

漏洞描述

In PHP versions prior to 7.4.33, 8.0.25 and 8.2.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.

修复方式

yum update PackageName

漏洞判定

执行命令yum info PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复

补丁

参考

https://gitee.com/src-openeuler/php/issues/I5Z2U1
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-31630
https://nvd.nist.gov/vuln/detail/CVE-2022-31630