7.5
HIGH
CVE-2021-20270
Pygments SMLLexer Infinite Loop Denial of Service
Description

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.

INFO

Published Date :

March 23, 2021, 5:15 p.m.

Last Modified :

Dec. 10, 2021, 5:04 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-20270 has a 3 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-20270 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat openshift_container_platform
3 Redhat software_collections
4 Redhat openstack_platform
1 Fedoraproject fedora
1 Debian debian_linux
1 Pygments pygments
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-20270.

URL Resource
https://bugzilla.redhat.com/show_bug.cgi?id=1922136 Issue Tracking Patch 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.debian.org/security/2021/dsa-4889 Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html Not Applicable Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CMake Shell Perl C++ C Batchfile CSS Makefile M4 Python

Updated: 8 months, 2 weeks ago
34 stars 0 fork 0 watcher
Born at : Feb. 1, 2024, 11:43 a.m. This repo has been linked 71 different CVEs too.

This tool is used for backdoor,shellcode generation,Information retrieval and POC arrangement for various architecture devices

iot security exploit linux python reverse-shell poc cve

Python Shell

Updated: 2 months, 3 weeks ago
175 stars 27 fork 27 watcher
Born at : April 26, 2022, 6:32 a.m. This repo has been linked 4 different CVEs too.

None

Updated: 3 years, 1 month ago
1 stars 1 fork 1 watcher
Born at : July 26, 2021, 8:56 a.m. This repo has been linked 18 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-20270 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-20270 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Dec. 10, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html Mailing List, Third Party Advisory
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html No Types Assigned https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2021/dsa-4889 No Types Assigned https://www.debian.org/security/2021/dsa-4889 Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Not Applicable, Third Party Advisory
    Added CWE NIST CWE-835
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    May. 06, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html [No Types Assigned]
  • CVE Modified by [email protected]

    May. 05, 2021

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html [No Types Assigned]
  • CVE Modified by [email protected]

    Apr. 11, 2021

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2021/dsa-4889 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 25, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1922136 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1922136 Issue Tracking, Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:pygments:pygments:*:*:*:*:*:*:*:* versions from (including) 1.5 up to (including) 2.7.3
    Added CPE Configuration OR *cpe:2.3:a:redhat:openshift_container_platform:3.11:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openstack_platform:10.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:software_collections:-:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-20270 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-20270 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.28 }} 0.04%

score

0.64988

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability