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 werkzeug from 1.0.1 to 2.2.3 #10995

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented Feb 16, 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:
    • utils/google_app_engine/additional_requirements.txt
⚠️ Warning
Flask 1.0.2 requires Werkzeug, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
low severity 416/1000
Why? Recently disclosed, Has a fix available, CVSS 2.6
Access Restriction Bypass
SNYK-PYTHON-WERKZEUG-3319935
werkzeug:
1.0.1 -> 2.2.3
No No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-WERKZEUG-3319936
werkzeug:
1.0.1 -> 2.2.3
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:

🦉 Access Restriction Bypass
🦉 Denial of Service (DoS)

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improving security by updating dependencies for the Google App Engine integration.

📊 Key Changes

  • Added werkzeug>=2.2.3 to the additional_requirements.txt for the Google App Engine.

🎯 Purpose & Impact

  • 🛡️ Enhances application security by including a version of werkzeug that patches a known vulnerability.
  • 🔒 Users can deploy more secure instances on Google App Engine with this new requirement.
  • 🚀 Potentially prevents exploitation of the app through the previous vulnerability, safeguarding user data and service integrity.

@glenn-jocher glenn-jocher merged commit 6d283ec into master Feb 16, 2023
@glenn-jocher glenn-jocher deleted the snyk-fix-175f4ed69738d4ebbf234f2ab5f90190 branch February 16, 2023 17:08
Smfun12 pushed a commit to Smfun12/yolov5 that referenced this pull request Mar 24, 2023
* fix: utils/google_app_engine/additional_requirements.txt to reduce vulnerabilities


The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319935
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319936

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Glenn Jocher <glenn.jocher@ultralytics.com>
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