openEuler Security Advisory
OESA-2023-1478
python-pygments security update
Details
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)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:22.03-LTS-SP1 | python-pygments | All versions before 2.10.0-4.oe2203sp1 (fixed in 2.10.0-4.oe2203sp1) |