Vulnerability Details : CVE-2021-20270
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.
Vulnerability category: Denial of service
Products affected by CVE-2021-20270
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openstack_platform:10.0:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:*
- cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:*
Threat overview for CVE-2021-20270
Top countries where our scanners detected CVE-2021-20270
Top open port discovered on systems with this issue
53
IPs affected by CVE-2021-20270 673,775
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2021-20270!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2021-20270
0.28%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-20270
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST |
CWE ids for CVE-2021-20270
-
The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.Assigned by:
- nvd@nist.gov (Primary)
- secalert@redhat.com (Secondary)
References for CVE-2021-20270
-
https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html
[SECURITY] [DLA 2648-1] mediawiki security updateMailing List;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html
[SECURITY] [DLA 2648-2] mediawiki regression updateMailing List;Third Party Advisory
-
https://www.oracle.com/security-alerts/cpuoct2021.html
Oracle Critical Patch Update Advisory - October 2021Not Applicable;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1922136
1922136 – (CVE-2021-20270) CVE-2021-20270 python-pygments: infinite loop in SML lexer may lead to DoSIssue Tracking;Patch;Third Party Advisory
-
https://www.debian.org/security/2021/dsa-4889
Debian -- Security Information -- DSA-4889-1 mediawikiThird Party Advisory
Jump to