摘要:
python-pygments security update
安全等级: Medium
公告ID: KylinSec-SA-2023-2220
发布日期: 2024年10月31日
关联CVE: CVE-2022-40896
Pygments is a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.
Security Fix(es):
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.(CVE-2022-40896)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2022-40896 | KY3.5.2 | python-pygments | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
python3-pygments | noarch | 2.10.0-4.ky3_5 |
python-pygments-help | noarch | 2.10.0-4.ky3_5 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名