Vulnerability record · OpenEuler 20.03-LTS-SP1
An update for python-pygments is now available for openEuler-20.03-LTS-SP1.
OpenEuler 20.03-LTS-SP1
What it fixes
Synopsis:
python-pygments security updateSummary:
An update for python-pygments is now available for openEuler-20.03-LTS-SP1.Description:
In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.(CVE-2021-27291)
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.(CVE-2021-20270)Topic:
An update for python-pygments is now available for openEuler-20.03-LTS-SP1.
openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section.Severity:
HighAffected Component:
python-pygments
Manual fix · OpenEuler 20.03-LTS-SP1
sudo dnf upgrade python-pygments python-pygments-help python2-pygments python3-pygmentsrpm -q python-pygments python-pygments-help python2-pygments python3-pygmentsSources