Skip to content

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

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2021-20270 - High Severity Vulnerability

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

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/02/ee/b6e02dc6529e82b75bb06823ff7d005b141037cb1416b10c6f00fc419dca/Pygments-2.2.0-py2.py3-none-any.whl

Path to dependency file: envoy/docs/requirements.txt

Path to vulnerable library: envoy/docs/requirements.txt,envoy/docs/requirements.txt

Dependency Hierarchy:

  • Pygments-2.2.0-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 320650059a0b0796f39380aaca16815f2f8a4625

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: GHSA-9w8r-397f-prfh

Release Date: 2021-03-23

Fix Resolution: Pygments - 20.12.3


Step up your Open Source Security Game with WhiteSource here

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions