CVE-2022-40896
Pygments vulnerability
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
Affected products
Pygments. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Pygments runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/ · Exploit
- github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/E
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V
- pypi.org/project/Pygments/
- lists.fedoraproject.org/archives/list/[email protected]/message/EZG
- lists.fedoraproject.org/archives/list/[email protected]/message/VUZ
- nvd.nist.gov/vuln/detail/CVE-2022-40896
- nvd.nist.gov/vuln/detail/CVE-2022-40896
- cve.org/CVERecord?id=CVE-2022-40896
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.