• 公告ID (KylinSec-SA-2024-3148)

摘要:

libxml2 security update

安全等级: High

公告ID: KylinSec-SA-2024-3148

发布日期: 2024年4月12日

关联CVE: CVE-2022-2309  

  • 详细介绍

1. 漏洞描述

   

This library allows to manipulate XML files. It includes support to read, modify and write XML and HTML files. There is DTDs support this includes parsing and validation even with complex DtDs, either at parse time or later once the document has been modified. The output can be a simple SAX stream or and in-memory DOM like representations. In this case one can use the built-in XPath and XPointer implementation to select sub nodes or ranges. A flexible Input/Output mechanism is available, with existing HTTP and FTP modules and combined to an URI library.

Security Fix(es):

NULL Pointer Dereference allows attackers to cause a denial of service (or application crash). This only applies when lxml is used together with libxml2 2.9.10 through 2.9.14. libxml2 2.9.9 and earlier are not affected. It allows triggering crashes through forged input data, given a vulnerable code sequence in the application. The vulnerability is caused by the iterwalk function (also used by the canonicalize function). Such code shouldn't be in wide-spread use, given that parsing + iterwalk would usually be replaced with the more efficient iterparse function. However, an XML converter that serialises to C14N would also be vulnerable, for example, and there are legitimate use cases for this code sequence. If untrusted input is received (also remotely) and processed via iterwalk function, a crash can be triggered.(CVE-2022-2309)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2022-2309 KY3.4-5A libxml2 Fixed

3. 影响组件

    libxml2

4. 修复版本

   

KY3.4-5A

软件名称 架构 版本号
libxml2-help noarch 2.9.10-41.kb1.ky3_4
libxml2-devel x86_64 2.9.10-41.kb1.ky3_4
libxml2 x86_64 2.9.10-41.kb1.ky3_4
python2-libxml2 x86_64 2.9.10-41.kb1.ky3_4
python3-libxml2 x86_64 2.9.10-41.kb1.ky3_4
python2-libxml2 aarch64 2.9.10-41.kb1.ky3_4
libxml2-devel aarch64 2.9.10-41.kb1.ky3_4
libxml2 aarch64 2.9.10-41.kb1.ky3_4
python3-libxml2 aarch64 2.9.10-41.kb1.ky3_4

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.4-5A:

x86_64:

     libxml2-help   

     libxml2-devel   

     libxml2   

     python2-libxml2   

     python3-libxml2   

aarch64:

     libxml2-help   

     python2-libxml2   

     libxml2-devel   

     libxml2   

     python3-libxml2   

上一篇:KylinSec-SA-2024-3147 下一篇:KylinSec-SA-2024-3149