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

dvp-2.1.0.tar.gz: 2 vulnerabilities (highest severity is: 7.5) #72

Open
mend-for-github.ghproxy.top bot opened this issue Jan 30, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github.ghproxy.top
Copy link
Contributor

mend-for-github.ghproxy.top bot commented Jan 30, 2025

Vulnerable Library - dvp-2.1.0.tar.gz

Path to dependency file: /test/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250130115351_JQMQQS/python_WWSMLY/202501301153531/env/lib/python3.8/site-packages/protobuf-3.6.1.dist-info

Found in HEAD commit: 3eb8f2dabb4ed00463d6d386390c0f1b37836038

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (dvp version) Remediation Possible**
CVE-2022-1941 High 7.5 protobuf-3.6.1-py2.py3-none-any.whl Transitive 3.1.0
CVE-2025-27516 High 7.3 jinja2-3.1.5-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-1941

Vulnerable Library - protobuf-3.6.1-py2.py3-none-any.whl

No project description provided

Library home page: https://files.pythonhosted.org/packages/77/78/a7f1ce761e2c738e209857175cd4f90a8562d1bde32868a8cd5290d58926/protobuf-3.6.1-py2.py3-none-any.whl

Path to dependency file: /test/requirements.txt

Path to vulnerable library: /tmp/ws-ua_20250130115351_JQMQQS/python_WWSMLY/202501301153531/env/lib/python3.8/site-packages/protobuf-3.6.1.dist-info

Dependency Hierarchy:

  • dvp-2.1.0.tar.gz (Root Library)
    • dvp-common-2.1.0.tar.gz
      • dvp-api-1.3.0.tar.gz
        • protobuf-3.6.1-py2.py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 3eb8f2dabb4ed00463d6d386390c0f1b37836038

Found in base branch: master

Vulnerability Details

A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.

Publish Date: 2022-09-22

URL: CVE-2022-1941

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-8gq9-2x98-w8hf

Release Date: 2022-09-22

Fix Resolution (protobuf): 3.18.3

Direct dependency fix Resolution (dvp): 3.1.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2025-27516

Vulnerable Library - jinja2-3.1.5-py3-none-any.whl

A very fast and expressive template engine.

Library home page: https://files.pythonhosted.org/packages/bd/0f/2ba5fbcd631e3e88689309dbe978c5769e883e4b84ebfe7da30b43275c5a/jinja2-3.1.5-py3-none-any.whl

Path to dependency file: /test/requirements.txt

Path to vulnerable library: /test/requirements.txt

Dependency Hierarchy:

  • dvp-2.1.0.tar.gz (Root Library)
    • dvp-tools-2.1.0.tar.gz
      • jinja2-3.1.5-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 3eb8f2dabb4ed00463d6d386390c0f1b37836038

Found in base branch: master

Vulnerability Details

Jinja is an extensible templating engine. Prior to 3.1.6, an oversight in how the Jinja sandboxed environment interacts with the |attr filter allows an attacker that controls the content of a template to execute arbitrary Python code. To exploit the vulnerability, an attacker needs to control the content of a template. Whether that is the case depends on the type of application using Jinja. This vulnerability impacts users of applications which execute untrusted templates. Jinja's sandbox does catch calls to str.format and ensures they don't escape the sandbox. However, it's possible to use the |attr filter to get a reference to a string's plain format method, bypassing the sandbox. After the fix, the |attr filter no longer bypasses the environment's attribute lookup. This vulnerability is fixed in 3.1.6.

Publish Date: 2025-03-05

URL: CVE-2025-27516

CVSS 3 Score Details (7.3)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-03-05

Fix Resolution: 3.1.6


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github.ghproxy.top mend-for-github.ghproxy.top bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Jan 30, 2025
@mend-for-github.ghproxy.top mend-for-github.ghproxy.top bot changed the title dvp-2.1.0.tar.gz: 1 vulnerabilities (highest severity is: 7.5) dvp-2.1.0.tar.gz: 2 vulnerabilities (highest severity is: 7.5) Mar 6, 2025
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
Development

No branches or pull requests

0 participants