Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
mend-bolt-for-github bot opened this issue Dec 26, 2023 · 1 comment
Open
Assignees
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend needs/triage

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Dec 26, 2023

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

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 26, 2023
Copy link
Contributor

👋 Thanks for reporting!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend needs/triage
Projects
None yet
Development

No branches or pull requests

1 participant