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 pytorch-lightning from 1.9.5 to 2.4.0 #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

secgitopscore
Copy link

snyk-top-banner

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

Snyk changed the following file(s):

  • examples/spot/lightning_cifar10/requirements.txt
⚠️ Warning ``` pytorch-lightning 1.9.5 has requirement torchmetrics>=0.7.0, but you have torchmetrics 0.4.1.
</details>





---

> [!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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIyYjk2OTZiOC1lNWI5LTRhMDgtODg2NS01ZWNjZGM5OTljYTEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjJiOTY5NmI4LWU1YjktNGEwOC04ODY1LTVlY2NkYzk5OWNhMSJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/coreweave-engineering/project/bc6f83c5-f616-4149-9e8b-303bb19731ae?utm_source&#x3D;github-enterprise&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr)
📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
🛠 [Adjust project settings](https://app.snyk.io/org/coreweave-engineering/project/bc6f83c5-f616-4149-9e8b-303bb19731ae?utm_source&#x3D;github-enterprise&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings)
📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Improper Restriction of Operations within the Bounds of a Memory Buffer](https://learn.snyk.io/lesson/mass-assignment/?loc&#x3D;fix-pr)
🦉 [Unrestricted Upload of File with Dangerous Type](https://learn.snyk.io/lesson/unrestricted-file-upload/?loc&#x3D;fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"pytorch-lightning","from":"1.9.5","to":"2.4.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYTORCHLIGHTNING-7218866","priority_score":811,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYTORCHLIGHTNING-7411413","priority_score":761,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.8","score":440},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Unrestricted Upload of File with Dangerous Type"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYTORCHLIGHTNING-7218866","priority_score":811,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"9.8","score":490},{"type":"scoreVersion","label":"v1","score":1}],"severity":"critical","title":"Improper Restriction of Operations within the Bounds of a Memory Buffer"},{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-PYTORCHLIGHTNING-7411413","priority_score":761,"priority_score_factors":[{"type":"exploit","label":"Proof of Concept","score":107},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.8","score":440},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Unrestricted Upload of File with Dangerous Type"}],"prId":"2b9696b8-e5b9-4a08-8865-5eccdc999ca1","prPublicId":"2b9696b8-e5b9-4a08-8865-5eccdc999ca1","packageManager":"pip","priorityScoreList":[811,761],"projectPublicId":"bc6f83c5-f616-4149-9e8b-303bb19731ae","projectUrl":"https://app.snyk.io/org/coreweave-engineering/project/bc6f83c5-f616-4149-9e8b-303bb19731ae?utm_source=github-enterprise&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-PYTORCHLIGHTNING-7218866","SNYK-PYTHON-PYTORCHLIGHTNING-7411413"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

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