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 2 vulnerabilities #56

Merged
merged 2 commits into from
May 24, 2024

Conversation

cnheider
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

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

Snyk changed the following file(s):

  • requirements/requirements_server.txt
⚠️ Warning ``` visdom 0.2.4 requires scipy, which is not installed. tensorboard 2.11.2 has requirement setuptools>=41.0.0, but you have setuptools 40.5.0. tensorboard 2.11.2 has requirement google-auth-oauthlib<0.5,>=0.4.1, but you have google-auth-oauthlib 1.2.0. tensorboard 2.11.2 has requirement protobuf<4,>=3.9.2, but you have protobuf 4.24.4. scikit-learn 1.0.2 requires scipy, which is not installed. pynput 1.7.7 requires evdev, which is not installed. pydocstyle 6.3.0 has requirement importlib-metadata<5.0.0,>=2.0.0; python_version < "3.8", but you have importlib-metadata 6.7.0. flake8 5.0.4 has requirement importlib-metadata<4.3,>=1.1.0; python_version < "3.8", but you have importlib-metadata 6.7.0. flake8 5.0.4 has requirement pycodestyle<2.10.0,>=2.9.0, but you have pycodestyle 2.10.0. coveralls 3.3.1 has requirement coverage!=6.0.*,!=6.1,!=6.1.1,<7.0,>=4.1, but you have coverage 7.2.7.
</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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI3YWEzNzY1Yi1lMmE3LTQ3MzItOGRiMS04OWM2ZDVmNTM3NDAiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjdhYTM3NjViLWUyYTctNDczMi04ZGIxLTg5YzZkNWY1Mzc0MCJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/aivclab/project/3bd590c3-fed9-4744-b8bf-5d89daff06d1?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)
🛠 [Adjust project settings](https://app.snyk.io/org/aivclab/project/3bd590c3-fed9-4744-b8bf-5d89daff06d1?utm_source&#x3D;github&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:**

🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc&#x3D;fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"requests","from":"2.31.0","to":"2.32.0"},{"name":"wheel","from":"0.32.2","to":"0.38.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-REQUESTS-6928867","priority_score":566,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"5.6","score":280},{"type":"scoreVersion","label":"v1","score":1}],"severity":"medium","title":"Always-Incorrect Control Flow Implementation"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WHEEL-3180413","severity":"high","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WHEEL-3180413","severity":"high","title":"Regular Expression Denial of Service (ReDoS)"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-WHEEL-3180413","severity":"high","title":"Regular Expression Denial of Service (ReDoS)"}],"prId":"7aa3765b-e2a7-4732-8db1-89c6d5f53740","prPublicId":"7aa3765b-e2a7-4732-8db1-89c6d5f53740","packageManager":"pip","priorityScoreList":[566,null],"projectPublicId":"3bd590c3-fed9-4744-b8bf-5d89daff06d1","projectUrl":"https://app.snyk.io/org/aivclab/project/3bd590c3-fed9-4744-b8bf-5d89daff06d1?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-REQUESTS-6928867","SNYK-PYTHON-WHEEL-3180413"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

@cnheider cnheider merged commit c537bd3 into develop May 24, 2024
2 of 6 checks passed
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