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 torch from 1.12.1 to 1.13.1 #1374

Merged
merged 2 commits into from Dec 23, 2022

Conversation

snyk-bot
Copy link
Contributor

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:
    • dev-requirements.txt
⚠️ Warning
protoc-gen-swagger 0.1.0 requires protobuf, which is not installed.
paramiko 2.12.0 requires pynacl, which is not installed.
Keras-Preprocessing 1.1.2 requires numpy, which is not installed.
jsonschema 3.2.0 requires pyrsistent, which is not installed.
google-auth 2.15.0 requires rsa, which is not installed.
flytekit 0.12.10 requires protobuf, which is not installed.
flytekit 0.12.10 requires ipykernel, which is not installed.
flytekit 0.12.10 requires black, which is not installed.
flytekit 0.12.10 has requirement flyteidl<1.0.0,>=0.18.4, but you have flyteidl 1.3.0.
flytekit 0.12.10 has requirement python-dateutil<=2.8.1,>=2.1, but you have python-dateutil 2.8.2.
flytekit 0.12.10 has requirement pytz<2018.5,>=2017.2, but you have pytz 2022.6.
flytekit 0.12.10 has requirement configparser<4.0.0,>=3.0.0, but you have configparser 4.0.2.
flyteidl 1.3.0 requires googleapis-common-protos, which is not installed.
flyteidl 1.3.0 requires protobuf, which is not installed.
docker-image-py 0.1.12 requires regex, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Command Injection
SNYK-PYTHON-TORCH-3149871
torch:
1.12.1 -> 1.13.1
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:

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

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-TORCH-3149871
@codecov
Copy link

codecov bot commented Dec 19, 2022

Codecov Report

Merging #1374 (74506f4) into master (46eae16) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1374   +/-   ##
=======================================
  Coverage   69.08%   69.08%           
=======================================
  Files         296      296           
  Lines       27680    27680           
  Branches     2604     2604           
=======================================
  Hits        19122    19122           
  Misses       8047     8047           
  Partials      511      511           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@pingsutw pingsutw merged commit 425f488 into master Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants