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] Fix for 5 vulnerabilities #2309

Closed

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Dec 7, 2024

snyk-top-banner

Snyk has created this PR to fix 5 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements.txt

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • 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.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Improper Control of Generation of Code ('Code Injection')
🦉 Use After Free

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Updated dependencies to improve compatibility, performance, and security 🔒🚀.

📊 Key Changes

  • Increased the minimum required PyTorch version to torch>=2.2.0.
  • Added wheel>=0.38.0 to resolve a Snyk-reported security vulnerability.

🎯 Purpose & Impact

  • Improved Performance: Upgrading PyTorch enhances functionality and takes advantage of the latest performance optimizations.
  • Enhanced Security: Addressed a known vulnerability by pinning the wheel library to a secure version.
  • Better Compatibility: Maintains alignment with the latest PyTorch features and Ultralytics software requirements.

👉 This update ensures YOLOv3 remains secure, optimized, and ready for modern machine learning workflows! 🌟

@UltralyticsAssistant UltralyticsAssistant added dependencies Dependencies and packages enhancement New feature or request labels Dec 7, 2024
@UltralyticsAssistant
Copy link
Member

👋 Hello @glenn-jocher, thank you for submitting a ultralytics/yolov3 🚀 pull request (PR)! This is an automated response to help guide your contributions and ensure a smooth review process. An Ultralytics engineer will review your PR soon. Meanwhile, please ensure the following checklist is completed:

  • Define a Purpose: Clearly explain the purpose of your fix or feature in the PR description. Link any relevant issues to provide additional context.
  • Synchronize with Source: Make sure your PR branch is up-to-date with the main branch of ultralytics/yolov3. You can update by clicking the 'Update branch' button or running git pull and git merge main locally.
  • Ensure CI Checks Pass: Verify that all Continuous Integration (CI) checks pass to avoid delays in the review process. If there are any failures, please address them.
  • Update Documentation: If your changes impact functionality or introduce new features, update the documentation accordingly.
  • Add Tests: Include or update tests where applicable to ensure your changes are thoroughly validated. Confirm that all tests succeed with your modifications.
  • Sign the CLA: If this is your first contribution to Ultralytics, please sign our Contributor License Agreement (CLA) by stating:
    "I have read the CLA Document and I sign the CLA" in the PR comments.
  • Minimize Changes: Verify that your changes are limited to what’s essential for this PR. Follow the principle: "Hack away the unessential."

If this PR addresses vulnerabilities, please ensure all changes resolve the intended issues without introducing regressions. For additional guidance, check out our Contributing Guide.

Don’t hesitate to leave a comment if you have questions or need further assistance. Thank you for contributing to Ultralytics! 🚀🙏

@glenn-jocher glenn-jocher deleted the snyk-fix-9fc58dccd5902168187c100677a74f99 branch January 10, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Dependencies and packages enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants