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 anyio from 3.7.1 to 4.4.0 #8

Merged
merged 1 commit into from
Jun 26, 2024

Conversation

spolti
Copy link

@spolti spolti commented Jun 25, 2024

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 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • docs/requirements-docs.txt
⚠️ Warning ``` sphinx 5.3.0 has requirement docutils<0.20,>=0.14, but you have docutils 0.20.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=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIyNTc0MjlhMi1mZjIzLTRkMGMtODA5NS1hZWJjMjhlNDlkZjkiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjI1NzQyOWEyLWZmMjMtNGQwYy04MDk1LWFlYmMyOGU0OWRmOSJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/data-services-red-hat-openshift-data-science/project/62fd0ea2-9943-4542-af8e-bb0bb9bf9340?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/data-services-red-hat-openshift-data-science/project/62fd0ea2-9943-4542-af8e-bb0bb9bf9340?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:**

🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc&#x3D;fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"anyio","from":"3.7.1","to":"4.4.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":701,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":701,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"}],"prId":"257429a2-ff23-4d0c-8095-aebc28e49df9","prPublicId":"257429a2-ff23-4d0c-8095-aebc28e49df9","packageManager":"pip","priorityScoreList":[701],"projectPublicId":"62fd0ea2-9943-4542-af8e-bb0bb9bf9340","projectUrl":"https://app.snyk.io/org/data-services-red-hat-openshift-data-science/project/62fd0ea2-9943-4542-af8e-bb0bb9bf9340?utm_source=github&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-ANYIO-7361842"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-ANYIO-7361842
Copy link

openshift-ci bot commented Jun 26, 2024

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: spolti

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dtrifiro dtrifiro merged commit 32e05a6 into main Jun 26, 2024
14 of 15 checks passed
@dtrifiro dtrifiro deleted the snyk-fix-2cb303fa5c27e75c2794f46794ba0d9c branch June 26, 2024 09:53
moulalis pushed a commit to moulalis/vllm that referenced this pull request Oct 11, 2024
This PR refactors the request validation to explicitly enumerate the
errors and messages that TGIS currently implements. It implements most
of the missing validation, excluding `PromptPrefix` and `Tokenizer` at
the moment, since soft prompts are not supported yet and I'm not 100%
sure how exactly to wire up the tokenizer one without running this and
figuring out how to trigger it.

I'd like to add some basic unit tests here and get a GHA workflow going
to run them. (The big blocker to that in general here is the need for
GPUs, but I think we can test this logic without needing to load a real
model)

---------

Signed-off-by: Joe Runde <Joseph.Runde@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants