Red Hat VEX
RHVEX-CVE-2021-20270
python-pygments: Infinite loop in SML lexer may lead to DoS
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | resource-agents | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-aliyun | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-gcp | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap-hana | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | resource-agents-sap-hana-scaleout | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | sap-cluster-connector | All versions, no fix (out of support scope) |