安全公告/【CVE-2021-20270】
基本信息
受影响操作系统:桌面操作系统
危险等级:高危
影响源码包:pygments
CVSS评分:7.5
发现日期:2021-12-18
修复版本:1:1.31.14-1~deb10u1
漏洞描述
An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the "exception" keyword.
漏洞判定
执行命令apt policy PackageName获取软件包版本号,版本小于修复版本,则受此漏洞影响,版本大于等于修复版本,则此漏洞已修复
修复方式
sudo apt update && sudo apt dist-upgrade