{"id":"OESA-2023-1477","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.\r\n\r\nSecurity Fix(es):\r\n\r\nA ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.(CVE-2022-40896)","modified":"2025-09-03T06:18:27.677395Z","published":"2023-08-06T11:05:38Z","upstream":["CVE-2022-40896"],"database_specific":{"severity":"Medium"},"references":[{"type":"ADVISORY","url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1477"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896"}],"affected":[{"package":{"name":"python-pygments","ecosystem":"openEuler:22.03-LTS","purl":"pkg:rpm/openEuler/python-pygments&distro=openEuler-22.03-LTS"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-4.oe2203"}]}],"ecosystem_specific":{"src":["python-pygments-2.10.0-4.oe2203.src.rpm"],"noarch":["python-pygments-help-2.10.0-4.oe2203.noarch.rpm","python3-pygments-2.10.0-4.oe2203.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2023-1477.json"}}],"schema_version":"1.7.3"}