安全公告/【CVE-2023-3823】

基本信息

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

漏洞描述

In PHP versions 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8 various XML functions rely on libxml global state to track configuration variables, like whether external entities are loaded. This state is assumed to be unchanged unless the user explicitly changes it by calling appropriate function. However, since the state is process-global, other modules - such as ImageMagick - may also use this library within the same process, and change that global state for their internal purposes, and leave it in a state where external entities loading is enabled. This can lead to the situation where external XML is parsed with external entities loaded, which can lead to disclosure of any local files accessible to PHP. This vulnerable state may persist in the same process across many requests, until the process is shut down. 

修复方式

yum update PackageName

漏洞判定

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

补丁

参考

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