BrianMcDonaldWS / deck.gl

WebGL2 powered geospatial visualization layers
https://deck.gl
MIT License
0 stars 0 forks source link

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

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2021-20270 - High Severity Vulnerability

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

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/be/39/32da3184734730c0e4d3fa3b2b5872104668ad6dc1b5a73d8e477e5fe967/Pygments-2.5.2-py2.py3-none-any.whl

Path to dependency file: /bindings/pydeck/requirements.txt

Path to vulnerable library: /bindings/pydeck/requirements.txt

Dependency Hierarchy: - ipywidgets-7.5.1-py2.py3-none-any.whl (Root Library) - ipython-5.9.0-py2-none-any.whl - :x: **Pygments-2.5.2-py2.py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: 67e433f207a0fc9c0fb2b8f7a2906f254c8c4b87

Found in base branch: master

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): 2.7.4

Direct dependency fix Resolution (ipywidgets): 7.6.0