NirShaharabani / python-mini-projects

A collection of simple python mini projects to enhance your python skills
https://python-world.github.io/python-mini-projects/#/
MIT License
0 stars 0 forks source link

rich-10.11.0-py3-none-any.whl: 1 vulnerabilities (highest severity is: 5.5) #62

Open mend-for-github-com[bot] opened 8 months ago

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - rich-10.11.0-py3-none-any.whl

Path to dependency file: /projects/Diff_Util/requirements.txt

Path to vulnerable library: /projects/racing_barchart_animation/requirements.txt,/projects/Diff_Util/requirements.txt

Found in HEAD commit: bf2f317cb6b371fa8ba87f3a9f45a7dde720c061

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (rich version) Remediation Possible**
CVE-2022-40896 Medium 5.5 Pygments-2.12.0-py3-none-any.whl Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**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.12.0-py3-none-any.whl

Pygments is a syntax highlighting package written in Python.

Library home page: https://files.pythonhosted.org/packages/5c/8e/1d9017950034297fffa336c72e693a5b51bbf85141b24a763882cf1977b5/Pygments-2.12.0-py3-none-any.whl

Path to dependency file: /projects/racing_barchart_animation/requirements.txt

Path to vulnerable library: /projects/racing_barchart_animation/requirements.txt,/projects/Diff_Util/requirements.txt

Dependency Hierarchy: - rich-10.11.0-py3-none-any.whl (Root Library) - :x: **Pygments-2.12.0-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: bf2f317cb6b371fa8ba87f3a9f45a7dde720c061

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: pygments - 2.15.0