OESA-2023-1479

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2023-1479
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2023-1479.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2023-1479
Upstream
Published
2023-08-06T11:05:38Z
Modified
2025-08-12T05:15:04.492539Z
Summary
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)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS-SP2 / python-pygments

Package

Name
python-pygments
Purl
pkg:rpm/openEuler/python-pygments&distro=openEuler-22.03-LTS-SP2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.10.0-4.oe2203sp2

Ecosystem specific

{
    "noarch": [
        "python3-pygments-2.10.0-4.oe2203sp2.noarch.rpm",
        "python-pygments-help-2.10.0-4.oe2203sp2.noarch.rpm"
    ],
    "src": [
        "python-pygments-2.10.0-4.oe2203sp2.src.rpm"
    ]
}