Vulnerability record · OpenEuler 22.03-LTS-SP2
An update for python-pygments is now available for openEuler-22.03-LTS-SP2.
OpenEuler 22.03-LTS-SP2
What it fixes
Synopsis:
python-pygments security updateSummary:
An update for python-pygments is now available for openEuler-22.03-LTS-SP2.Description:
Pygments is a generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications that need to prettify source code.
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.(CVE-2022-40896)Topic:
An update for python-pygments is now available for openEuler-22.03-LTS-SP2.
openEuler Security has rated this update as having a security impact of medium. 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:
MediumAffected Component:
python-pygments
Manual fix · OpenEuler 22.03-LTS-SP2
sudo dnf upgrade python-pygments python-pygments-help python3-pygmentsrpm -q python-pygments python-pygments-help python3-pygmentsSources