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 transformers from 4.28.1 to 4.36.0 #47

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

Conversation

Haste171
Copy link
Owner

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


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:
    • deprecated/requirements.txt
⚠️ Warning
streamlit 1.22.0 requires tornado, which is not installed.
sentence-transformers 2.2.2 requires transformers, which is not installed.
sentence-transformers 2.2.2 requires torch, which is not installed.
sentence-transformers 2.2.2 requires torchvision, which is not installed.
sentence-transformers 2.2.2 requires scipy, which is not installed.
scikit-learn 1.0.2 requires scipy, which is not installed.
nltk 3.8.1 requires regex, which is not installed.
llama-index 0.5.12 requires langchain, which is not installed.
llama-index 0.5.12 requires transformers, which is not installed.
gpt-index 0.5.12 requires langchain, which is not installed.
gpt-index 0.5.12 requires tiktoken, which is not installed.
chromadb 0.3.21 requires hnswlib, which is not installed.
chromadb 0.3.21 has requirement numpy>=1.21.6, but you have numpy 1.21.3.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
critical severity 873/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9.6
Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6134594
transformers:
4.28.1 -> 4.36.0
No Proof of Concept
critical severity 843/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 9
Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6135747
transformers:
4.28.1 -> 4.36.0
No Proof of Concept

(*) 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:

🦉 Deserialization of Untrusted Data

Copy link

sweep-ai bot commented Dec 21, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.
  • Apply: Add docstrings to all functions and file headers.

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