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.1 #12169

Merged
merged 2 commits into from
Nov 4, 2023

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Sep 26, 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-cudnn-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-cuda-nvrtc-cu11, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
high severity 865/1000
Why? Currently trending on Twitter, Mature exploit, Recently disclosed, Has a fix available, CVSS 7.3
Heap-based Buffer Overflow
SNYK-PYTHON-PILLOW-5918878
pillow:
9.5.0 -> 10.0.1
No Mature

(*) 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:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Enhanced image processing capabilities with Pillow library update.

📊 Key Changes

  • Updated the Pillow library version from >=7.1.2 to >=10.0.1 in requirements.txt.

🎯 Purpose & Impact

  • 🛠 Purpose: The update aims to leverage the latest improvements and security fixes in the Pillow library, which is a core dependency for image handling in the YOLOv5 project.
  • 🔒 Security: Ensures that any security vulnerabilities present in older versions of Pillow are mitigated by requiring a more recent, patched version.
  • 🚀 Performance & Features: Users can potentially benefit from performance optimizations and additional features introduced in the newer releases of the Pillow library.
  • ⚙️ Compatibility: Helps maintain compatibility with other dependencies that might require a newer version of Pillow.

@glenn-jocher glenn-jocher merged commit 8566421 into master Nov 4, 2023
7 checks passed
@glenn-jocher glenn-jocher deleted the snyk-fix-a60a474e971b1fa06fc140b3a23197c3 branch November 4, 2023 18:38
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-5918878

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.

2 participants