摘要:
python-lxml security update
安全等级: Medium
公告ID: KylinSec-SA-2024-2939
发布日期: 2024年6月21日
关联CVE: CVE-2024-37388
The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. \ It is unique in that it combines the speed and XML feature completeness of these libraries with \ the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. \ The latest release works with all CPython versions from 2.7 to 3.7.
Security Fix(es):
An XML External Entity (XXE) vulnerability in the ebookmeta.get_metadata function of lxml before v4.9.1 allows attackers to access sensitive information or cause a Denial of Service (DoS) via crafted XML input.(CVE-2024-37388)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2024-37388 | KY3.5.2 | python-lxml | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
python-lxml-help | noarch | 4.7.1-6.ky3_5 |
python3-lxml | x86_64 | 4.7.1-6.ky3_5 |
python3-lxml | aarch64 | 4.7.1-6.ky3_5 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名