{"schema_version":"1.7.2","id":"OESA-2023-1479","modified":"2026-08-06T11:05:56Z","published":"2023-08-06T11:05:56Z","upstream":["CVE-2022-40896"],"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)","affected":[{"package":{"ecosystem":"openEuler:22.03-LTS-SP2","name":"python-pygments","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":{"noarch":["python3-pygments-2.10.0-4.oe2203sp2.noarch.rpm","python-pygments-help-2.10.0-4.oe2203sp2.noarch.rpm"],"src":["python-pygments-2.10.0-4.oe2203sp2.src.rpm"]}}],"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"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}],"database_specific":{"severity":"Medium"}}
