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 numpy from 1.21.3 to 1.22.2 #11498

Closed
wants to merge 3 commits into from

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented May 7, 2023

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
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.
torch 1.13.1 requires nvidia-cuda-runtime-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
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
NULL Pointer Dereference
SNYK-PYTHON-NUMPY-2321964
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Buffer Overflow
SNYK-PYTHON-NUMPY-2321966
numpy:
1.21.3 -> 1.22.2
No No Known Exploit
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Denial of Service (DoS)
SNYK-PYTHON-NUMPY-2321970
numpy:
1.21.3 -> 1.22.2
No Proof of Concept

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

🦉 NULL Pointer Dereference
🦉 Denial of Service (DoS)

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Upgraded minimum required version of NumPy in yolov5 dependencies.

📊 Key Changes

  • Updated the numpy library from a minimum version of 1.18.5 to 1.22.2.

🎯 Purpose & Impact

  • Ensure Compatibility: Newer versions of other libraries may rely on features or fixes introduced in newer NumPy versions.
  • Access to New Features: Users can leverage improvements and new functionalities available in the updated NumPy.
  • Potential Performance Improvements: NumPy updates often include optimizations that could benefit YOLOv5 performance.
  • Developer Awareness: Ensures that developers working on the project are aware of the new minimum NumPy version requirement, which can prevent compatibility issues.
  • User Impact: Users updating YOLOv5 need to ensure their NumPy version is at least 1.22.2. This may require users to update their Python environment accordingly.

@glenn-jocher glenn-jocher deleted the snyk-fix-6c9eeb3b0a7596bd3087093a737a3c49 branch July 4, 2023 20:52
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