{"id":"OESA-2023-1479","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":"2026-08-18T01:18:29.926652541Z","published":"2023-08-06T11:05:56Z","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-1479"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896"}],"affected":[{"package":{"name":"python-pygments","ecosystem":"openEuler:22.03-LTS-SP2","purl":"pkg:rpm/openEuler/python-pygments&distro=openEuler-22.03-LTS-SP2"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.10.0-4.oe2203sp2"}]}],"ecosystem_specific":{"src":["python-pygments-2.10.0-4.oe2203sp2.src.rpm"],"noarch":["python3-pygments-2.10.0-4.oe2203sp2.noarch.rpm","python-pygments-help-2.10.0-4.oe2203sp2.noarch.rpm"]},"database_specific":{"source":"https://repo.openeuler.org/security/data/osv/OESA-2023-1479.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}