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.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1922136 | Issue Tracking Patch Third Party Advisory |
https://www.debian.org/security/2021/dsa-4889 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html | Mailing List Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html | Mailing List Third Party Advisory |
https://www.oracle.com/security-alerts/cpuoct2021.html | Not Applicable Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Information
Published : 2021-03-23 10:15
Updated : 2021-12-10 09:04
NVD link : CVE-2021-20270
Mitre link : CVE-2021-20270
JSON object : View
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')
Products Affected
redhat
- enterprise_linux
- openstack_platform
- openshift_container_platform
- software_collections
pygments
- pygments
fedoraproject
- fedora
debian
- debian_linux