sylvanosullivan / redline_hackathon_model

0 stars 0 forks source link

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

Open mend-bolt-for-github[bot] opened 8 months ago

mend-bolt-for-github[bot] commented 8 months ago

CVE-2021-27291 - 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)

Found in base branch: master

Vulnerability Details

In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.

Publish Date: 2021-03-17

URL: CVE-2021-27291

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

Release Date: 2021-03-17

Fix Resolution: Pygments - 2.7.4


Step up your Open Source Security Game with Mend here