{"id":"AZL-35138","summary":"CVE-2021-27291 affecting package python-pygments for versions less than 2.7.4-1","details":"In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.","modified":"2026-04-01T05:11:56.789384Z","published":"2021-03-17T13:15:15Z","upstream":["CVE-2021-27291"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-27291"}],"affected":[{"package":{"name":"python-pygments","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/python-pygments"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.4-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-35138.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"}]}