sylvanosullivan / redline_hackathon_model

0 stars 0 forks source link

CVE-2021-20270 (High) detected in Pygments-2.4.2-py2.py3-none-any.whl #1

Open mend-bolt-for-github[bot] opened 3 years ago

mend-bolt-for-github[bot] commented 3 years ago

CVE-2021-20270 - High Severity Vulnerability

Vulnerable Library - Pygments-2.4.2-py2.py3-none-any.whl

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/5c/73/1dfa428150e3ccb0fa3e68db406e5be48698f2a979ccbcec795f28f44048/Pygments-2.4.2-py2.py3-none-any.whl

Path to dependency file: /redline_hackathon_model/requirements.txt

Path to vulnerable library: /teSource-ArchiveExtractor_10185ad7-6719-45f4-abc0-7cff4f731fd5/20190531052439_2943/20190531052421_depth_0/Pygments-2.4.2-py2.py3-none-any/pygments

Dependency Hierarchy: - :x: **Pygments-2.4.2-py2.py3-none-any.whl** (Vulnerable Library)

Vulnerability 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.

Publish Date: 2021-03-23

URL: CVE-2021-20270

CVSS 3 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-9w8r-397f-prfh

Release Date: 2021-03-23

Fix Resolution: Pygments - 20.12.3


Step up your Open Source Security Game with Mend here