Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

ansible_lint-5.4.0-py3-none-any.whl: 3 vulnerabilities (highest severity is: 5.5) #13

Open
mend-bolt-for-github bot opened this issue Feb 24, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Feb 24, 2023

Vulnerable Library - ansible_lint-5.4.0-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (ansible_lint version) Remediation Possible**
CVE-2022-40896 Medium 5.5 Pygments-2.14.0-py3-none-any.whl Transitive 6.0.0
CVE-2023-26303 Low 3.3 markdown_it_py-2.1.0-py3-none-any.whl Transitive 6.0.0
CVE-2023-26302 Low 3.3 markdown_it_py-2.1.0-py3-none-any.whl Transitive 6.0.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2022-40896

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

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/0b/42/d9d95cc461f098f204cd20c85642ae40fbff81f74c300341b8d0e0df14e0/Pygments-2.14.0-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • ansible_lint-5.4.0-py3-none-any.whl (Root Library)
    • rich-13.3.1-py3-none-any.whl
      • Pygments-2.14.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

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 (Pygments): 2.15.0

Direct dependency fix Resolution (ansible-lint): 6.0.0

Step up your Open Source Security Game with Mend here

CVE-2023-26303

Vulnerable Library - markdown_it_py-2.1.0-py3-none-any.whl

Python port of markdown-it. Markdown parsing, done right!

Library home page: https://files.pythonhosted.org/packages/f9/3f/ecd1b708973b9a3e4574b43cffc1ce8eb98696da34f1a1c44a68c3c0d737/markdown_it_py-2.1.0-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • ansible_lint-5.4.0-py3-none-any.whl (Root Library)
    • rich-13.3.1-py3-none-any.whl
      • markdown_it_py-2.1.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Denial of service could be caused to markdown-it-py, before v2.2.0, if an attacker was allowed to force null assertions with specially crafted input.

Publish Date: 2023-02-22

URL: CVE-2023-26303

CVSS 3 Score Details (3.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26303

Release Date: 2023-02-22

Fix Resolution (markdown-it-py): 2.2.0

Direct dependency fix Resolution (ansible-lint): 6.0.0

Step up your Open Source Security Game with Mend here

CVE-2023-26302

Vulnerable Library - markdown_it_py-2.1.0-py3-none-any.whl

Python port of markdown-it. Markdown parsing, done right!

Library home page: https://files.pythonhosted.org/packages/f9/3f/ecd1b708973b9a3e4574b43cffc1ce8eb98696da34f1a1c44a68c3c0d737/markdown_it_py-2.1.0-py3-none-any.whl

Path to dependency file: /requirements.txt

Path to vulnerable library: /requirements.txt

Dependency Hierarchy:

  • ansible_lint-5.4.0-py3-none-any.whl (Root Library)
    • rich-13.3.1-py3-none-any.whl
      • markdown_it_py-2.1.0-py3-none-any.whl (Vulnerable Library)

Found in base branch: main

Vulnerability Details

Denial of service could be caused to the command line interface of markdown-it-py, before v2.2.0, if an attacker was allowed to use invalid UTF-8 characters as input.

Publish Date: 2023-02-22

URL: CVE-2023-26302

CVSS 3 Score Details (3.3)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: Low
    • Privileges Required: Low
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-26302

Release Date: 2023-02-22

Fix Resolution (markdown-it-py): 2.2.0

Direct dependency fix Resolution (ansible-lint): 6.0.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 Feb 24, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title ansible_lint-5.4.0-py3-none-any.whl: 2 vulnerabilities (highest severity is: 3.3) ansible_lint-5.4.0-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.5) Jul 15, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title ansible_lint-5.4.0-py3-none-any.whl: 2 vulnerabilities (highest severity is: 5.5) ansible_lint-5.4.0-py3-none-any.whl: 3 vulnerabilities (highest severity is: 5.5) Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants