Advisory

PYSEC-2023-117

Also known as: CVE-2022-40896, GHSA-mrwq-x4v8-fh7p

Summary

The record has no summary.

Details

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.

Severity

Not rated by the source.

Dates

Published
2023-07-19 15:15 UTC
Modified
2026-06-10 17:01 UTC

Affected packages and fixes

pygments

PyPI · All systems

Affected

  • introduced 0, fixed 2.15.1 (ecosystem)

Fixed versions

2.15.1

Fix

  • Fixed version 2.15.1
    pip install --upgrade pygments==2.15.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences