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

[Snyk] Security upgrade pillow from 9.5.0 to 10.0.0 #12323

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Nov 4, 2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • requirements.txt
⚠️ Warning
ultralytics 8.0.151 requires scipy, which is not installed.
ultralytics 8.0.151 has requirement numpy>=1.22.2, but you have numpy 1.21.3.
torch 1.13.1 requires nvidia-cuda-nvrtc-cu11, which is not installed.
torch 1.13.1 requires nvidia-cuda-runtime-cu11, which is not installed.
torch 1.13.1 requires nvidia-cublas-cu11, which is not installed.
torch 1.13.1 requires nvidia-cudnn-cu11, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-PYTHON-PILLOW-6043904
pillow:
9.5.0 -> 10.0.0
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Uncontrolled Resource Consumption ('Resource Exhaustion')

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Adjustment of minimum Pillow version requirement in requirements.txt.

📊 Key Changes

  • Lowered the minimum required version of the Python Imaging Library, Pillow, from 10.0.1 to 10.0.0.

🎯 Purpose & Impact

  • 🔄 The change likely increases compatibility, allowing the codebase to work with an additional version of Pillow.
  • 👍 Users who have Pillow version 10.0.0 installed won't need to upgrade to 10.0.1 to use the software.
  • 🧩 This can help in environments where the exact newer version of the library is not available or has compatibility issues with other dependencies.
  • ➕ Overall, the impact on users should be minimal but helpful for those affected by the specific dependency constraint.

snyk-bot and others added 2 commits November 4, 2023 04:51
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher merged commit 5fbddaf into master Nov 4, 2023
8 checks passed
@glenn-jocher glenn-jocher deleted the snyk-fix-c368bee04bf8c7b6d18e92e225857c4b branch November 4, 2023 18:55
pleb631 pushed a commit to pleb631/yolov5 that referenced this pull request Jan 6, 2024
fix: requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants