{"id":"AZL-6811","summary":"CVE-2021-20270 affecting package python-pygments for versions less than 2.4.2-7","details":"An infinite loop in SMLLexer in Pygments versions 1.5 to 2.7.3 may lead to denial of service when performing syntax highlighting of a Standard ML (SML) source file, as demonstrated by input that only contains the \"exception\" keyword.","modified":"2026-04-01T05:21:21.031730Z","published":"2021-03-23T17:15:13Z","upstream":["CVE-2021-20270"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20270"}],"affected":[{"package":{"name":"python-pygments","ecosystem":"Azure Linux:2","purl":"pkg:rpm/azure-linux/python-pygments"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.4.2-7"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-6811.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}