Skip to content

Commit 9267b4f

Browse files
authored
[Snyk] Fix for 3 vulnerabilities (#77)
![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg) ### Snyk has created this PR to fix 3 vulnerabilities in the pip dependencies of this project. #### Snyk changed the following file(s): - `requirements.txt` <details> <summary>⚠️ <b>Warning</b></summary> ``` yfinance 0.2.63 requires protobuf, which is not installed. yfinance 0.2.63 requires websockets, which is not installed. yfinance 0.2.63 requires curl-cffi, which is not installed. requests 2.31.0 requires urllib3, which is not installed. PyQtWebEngine 5.15.6 requires PyQt5, which is not installed. prophet 1.1.7 requires holidays, which is not installed. matplotlib 3.5.3 requires fonttools, which is not installed. ``` </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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIyZjIzMTZkZS1hNjUyLTRiMTUtODYyOC02YjJjODg0NWU5MWIiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjJmMjMxNmRlLWE2NTItNGIxNS04NjI4LTZiMmM4ODQ1ZTkxYiJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/drik493/project/f09da309-8743-49bd-98f0-a58c3b858dbf?utm_source&#x3D;github&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?utm_source=github&utm_content=fix-pr-template) 🛠 [Adjust project settings](https://app.snyk.io/org/drik493/project/f09da309-8743-49bd-98f0-a58c3b858dbf?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr/settings) 📚 [Read about Snyk's upgrade logic](https://docs.snyk.io/scan-with-snyk/snyk-open-source/manage-vulnerabilities/upgrade-package-versions-to-fix-vulnerabilities?utm_source=github&utm_content=fix-pr-template) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Open Redirect](https://learn.snyk.io/lesson/open-redirect/?loc&#x3D;fix-pr) [//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"protobuf","from":"4.24.4","to":"4.25.8"},{"name":"urllib3","from":"2.0.7","to":"2.5.0"}],"env":"prod","issuesToFix":["SNYK-PYTHON-PROTOBUF-10364902","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194"],"prId":"2f2316de-a652-4b15-8628-6b2c8845e91b","prPublicId":"2f2316de-a652-4b15-8628-6b2c8845e91b","packageManager":"pip","priorityScoreList":[828,586,586],"projectPublicId":"f09da309-8743-49bd-98f0-a58c3b858dbf","projectUrl":"https://app.snyk.io/org/drik493/project/f09da309-8743-49bd-98f0-a58c3b858dbf?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-PROTOBUF-10364902","SNYK-PYTHON-URLLIB3-10390193","SNYK-PYTHON-URLLIB3-10390194"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}' ## Summary by Sourcery Pin protobuf and urllib3 versions in requirements.txt to remediate security vulnerabilities Bug Fixes: - Pin protobuf to >=4.25.8 to address a reported vulnerability - Pin urllib3 to >=2.5.0 to address reported vulnerabilities <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/mrayanasim09/python-projects/77) <!-- Reviewable:end -->
2 parents 5870cb9 + 71e88bc commit 9267b4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,5 @@ fonttools>=4.43.0 # not directly required, pinned by Snyk to avoid a vulnerabili
3131
holidays>=0.45 # not directly required, pinned by Snyk to avoid a vulnerability
3232
zipp>=3.19.1 # not directly required, pinned by Snyk to avoid a vulnerability
3333
nltk>=3.8.2 # not directly required, pinned by Snyk to avoid a vulnerability
34+
protobuf>=4.25.8 # not directly required, pinned by Snyk to avoid a vulnerability
35+
urllib3>=2.5.0 # not directly required, pinned by Snyk to avoid a vulnerability

0 commit comments

Comments
 (0)