AlexRogalskiy / java-patterns

🏆 Java4You Design patterns

Home Page:https://alexander-rogalsky.gitbook.io/java-patterns/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2022-40896 (Medium) detected in Pygments-2.13.0-py3-none-any.whl

mend-bolt-for-github opened this issue · comments

CVE-2022-40896 - Medium Severity Vulnerability

Vulnerable Library - Pygments-2.13.0-py3-none-any.whl

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/4f/82/672cd382e5b39ab1cd422a672382f08a1fb3d08d9e0c0f3707f33a52063b/Pygments-2.13.0-py3-none-any.whl

Path to dependency file: /docs/requirements.txt

Path to vulnerable library: /docs/requirements.txt,/tmp/ws-scm/java-patterns,/docs/requirements.txt

Dependency Hierarchy:

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

Found in base branch: master

Vulnerability Details

A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.

Publish Date: 2023-07-19

URL: CVE-2022-40896

CVSS 3 Score Details (5.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: Required
    • 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://pyup.io/vulnerabilities/CVE-2022-40896/58910/

Release Date: 2023-07-19

Fix Resolution: 2.15.0


Step up your Open Source Security Game with Mend here

👋 Thanks for reporting!