Vulnerability
CVE-2022-40896
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
13 advisories report this vulnerability, across 6 ecosystems.
Advisories in PyPI
-
GHSA-mrwq-x4v8-fh7p
Pygments vulnerable to ReDoS
-
PYSEC-2023-117
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
References
- https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO/
- https://pypi.org/project/Pygments/
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO/