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

pytest_django-3.2.1-py2.py3-none-any.whl: 2 vulnerabilities (highest severity is: 7.0) #19

Open
mend-for-github-com bot opened this issue Oct 17, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Oct 17, 2022

Vulnerable Library - pytest_django-3.2.1-py2.py3-none-any.whl

Path to dependency file: /Pipfile

Path to vulnerable library: /Pipfile

Found in HEAD commit: 925a67cbfda81510fc4912fd90b71ddded6b96c1

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (pytest_django version) Remediation Possible**
CVE-2024-6345 High 7.0 setuptools-65.4.1-py3-none-any.whl Transitive 3.3.0
CVE-2022-40897 Medium 5.9 setuptools-65.4.1-py3-none-any.whl Transitive 3.3.0

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

Details

CVE-2024-6345

Vulnerable Library - setuptools-65.4.1-py3-none-any.whl

Easily download, build, install, upgrade, and uninstall Python packages

Library home page: https://files.pythonhosted.org/packages/bd/b4/f120561bc94a04bae5d71ea86fe2c7d97f57ab89635b4739ec4abceda92d/setuptools-65.4.1-py3-none-any.whl

Path to dependency file: /Pipfile

Path to vulnerable library: /Pipfile

Dependency Hierarchy:

  • pytest_django-3.2.1-py2.py3-none-any.whl (Root Library)
    • pytest-3.5.1-py2.py3-none-any.whl
      • setuptools-65.4.1-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 925a67cbfda81510fc4912fd90b71ddded6b96c1

Found in base branch: main

Vulnerability Details

A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

Publish Date: 2024-07-15

URL: CVE-2024-6345

CVSS 3 Score Details (7.0)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Local
    • Attack Complexity: High
    • Privileges Required: None
    • 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

Origin: https://www.cve.org/CVERecord?id=CVE-2024-6345

Release Date: 2024-07-15

Fix Resolution (setuptools): 70.0.0

Direct dependency fix Resolution (pytest-django): 3.3.0

⛑️ Automatic Remediation will be attempted for this issue.

CVE-2022-40897

Vulnerable Library - setuptools-65.4.1-py3-none-any.whl

Easily download, build, install, upgrade, and uninstall Python packages

Library home page: https://files.pythonhosted.org/packages/bd/b4/f120561bc94a04bae5d71ea86fe2c7d97f57ab89635b4739ec4abceda92d/setuptools-65.4.1-py3-none-any.whl

Path to dependency file: /Pipfile

Path to vulnerable library: /Pipfile

Dependency Hierarchy:

  • pytest_django-3.2.1-py2.py3-none-any.whl (Root Library)
    • pytest-3.5.1-py2.py3-none-any.whl
      • setuptools-65.4.1-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 925a67cbfda81510fc4912fd90b71ddded6b96c1

Found in base branch: main

Vulnerability Details

Python Packaging Authority (PyPA) setuptools before 65.5.1 allows remote attackers to cause a denial of service via HTML in a crafted package or custom PackageIndex page. There is a Regular Expression Denial of Service (ReDoS) in package_index.py.

Publish Date: 2022-12-22

URL: CVE-2022-40897

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • 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: https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages/

Release Date: 2022-12-22

Fix Resolution (setuptools): 65.5.1

Direct dependency fix Resolution (pytest-django): 3.3.0

⛑️ Automatic Remediation will be attempted for this issue.


⛑️Automatic Remediation will be attempted for this issue.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Oct 17, 2022
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 1 vulnerabilities (highest severity is: 5.3) pytest_django-3.2.1-py2.py3-none-any.whl: 1 vulnerabilities (highest severity is: 7.5) Nov 9, 2022
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 1 vulnerabilities (highest severity is: 7.5) pytest_django-3.2.1-py2.py3-none-any.whl: 2 vulnerabilities (highest severity is: 7.5) Dec 23, 2022
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 2 vulnerabilities (highest severity is: 7.5) pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 8.8) Jul 16, 2024
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 8.8) pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 7.5) Jul 19, 2024
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 7.5) pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 7.0) Sep 8, 2024
@mend-for-github-com mend-for-github-com bot changed the title pytest_django-3.2.1-py2.py3-none-any.whl: 3 vulnerabilities (highest severity is: 7.0) pytest_django-3.2.1-py2.py3-none-any.whl: 2 vulnerabilities (highest severity is: 7.0) Sep 12, 2024
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