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 30 vulnerabilities #48

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
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 pandas, 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 pandas, which is not installed.
gpt-index 0.5.12 requires tiktoken, which is not installed.
fastapi 0.95.1 has requirement starlette<0.27.0,>=0.26.1, but you have starlette 0.27.0.
chromadb 0.3.21 requires hnswlib, which is not installed.
chromadb 0.3.21 requires pandas, which is not installed.
chromadb 0.3.21 has requirement numpy>=1.21.6, but you have numpy 1.21.3.
altair 4.2.2 requires pandas, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-5798483
aiohttp:
3.8.4 -> 3.9.0
No Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6057353
aiohttp:
3.8.4 -> 3.9.0
No Proof of Concept
medium severity 591/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.4
Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091621
aiohttp:
3.8.4 -> 3.9.0
No Proof of Concept
medium severity 591/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.4
Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091622
aiohttp:
3.8.4 -> 3.9.0
No Proof of Concept
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6091623
aiohttp:
3.8.4 -> 3.9.0
No No Known Exploit
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Improper Following of a Certificate's Chain of Trust
SNYK-PYTHON-CERTIFI-5805047
certifi:
2022.12.7 -> 2023.7.22
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Insufficient Session Expiration
SNYK-PYTHON-DJANGORESTFRAMEWORKSIMPLEJWT-3104636
djangorestframework-simplejwt:
5.1.0 -> 5.2.2
No No Known Exploit
critical severity 811/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 9.8
Remote Code Execution (RCE)
SNYK-PYTHON-GITPYTHON-5840584
gitpython:
3.1.31 -> 3.1.35
No Proof of Concept
high severity 711/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.8
Untrusted Search Path
SNYK-PYTHON-GITPYTHON-5871282
gitpython:
3.1.31 -> 3.1.35
No Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Directory Traversal
SNYK-PYTHON-GITPYTHON-5876644
gitpython:
3.1.31 -> 3.1.35
No Proof of Concept
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
NULL Pointer Dereference
SNYK-PYTHON-NUMPY-2321964
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Buffer Overflow
SNYK-PYTHON-NUMPY-2321966
numpy:
1.21.3 -> 1.22.2
No No Known Exploit
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Denial of Service (DoS)
SNYK-PYTHON-NUMPY-2321970
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
critical severity 909/1000
Why? Mature exploit, Has a fix available, CVSS 9.6
Heap-based Buffer Overflow
SNYK-PYTHON-PILLOW-5918878
pillow:
9.5.0 -> 10.0.1
No Mature
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-PYTHON-PILLOW-6043904
pillow:
9.5.0 -> 10.0.1
No No Known Exploit
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Deserialization of Untrusted Data
SNYK-PYTHON-PYARROW-6052811
pyarrow:
11.0.0 -> 14.0.1
No No Known Exploit
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5907722
pydantic:
1.10.7 -> 1.10.13
No Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5926694
pydantic:
1.10.7 -> 1.10.13
No Proof of Concept
high severity 691/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.4
Use of a Broken or Risky Cryptographic Algorithm
SNYK-PYTHON-PYJWT-2840625
pyjwt:
2.3.0 -> 2.4.0
No Proof of Concept
medium severity 519/1000
Why? Has a fix available, CVSS 6.1
Information Exposure
SNYK-PYTHON-REQUESTS-5595532
requests:
2.28.2 -> 2.31.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SETUPTOOLS-3180412
setuptools:
39.0.1 -> 65.5.1
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SQLPARSE-5426157
sqlparse:
0.4.2 -> 0.4.4
No No Known Exploit
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Directory Traversal
SNYK-PYTHON-STARLETTE-5538332
starlette:
0.26.1 -> 0.27.0
No Proof of Concept
medium severity 536/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 4.3
Improper Output Neutralization for Logs
SNYK-PYTHON-STREAMLIT-5880413
streamlit:
1.22.0 -> 1.27.0
No Proof of Concept
medium severity 556/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 4.7
Insecure Temporary File
SNYK-PYTHON-TRANSFORMERS-5563628
transformers:
4.28.1 -> 4.36.0
No Proof of Concept
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
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-5926907
urllib3:
1.26.15 -> 1.26.18
No No Known Exploit
medium severity 424/1000
Why? Has a fix available, CVSS 4.2
Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-6002459
urllib3:
1.26.15 -> 1.26.18
No No Known Exploit
medium severity 551/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 4.6
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-VALIDATORS-6008990
validators:
0.20.0 -> 0.21.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:

🦉 Improper Input Validation
🦉 Remote Code Execution (RCE)
🦉 Directory Traversal
🦉 More lessons are available in Snyk Learn

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-5798483
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6057353
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091621
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091622
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091623
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-5805047
- https://snyk.io/vuln/SNYK-PYTHON-DJANGORESTFRAMEWORKSIMPLEJWT-3104636
- https://snyk.io/vuln/SNYK-PYTHON-GITPYTHON-5840584
- https://snyk.io/vuln/SNYK-PYTHON-GITPYTHON-5871282
- https://snyk.io/vuln/SNYK-PYTHON-GITPYTHON-5876644
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-5918878
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904
- https://snyk.io/vuln/SNYK-PYTHON-PYARROW-6052811
- https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5907722
- https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5926694
- https://snyk.io/vuln/SNYK-PYTHON-PYJWT-2840625
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-5426157
- https://snyk.io/vuln/SNYK-PYTHON-STARLETTE-5538332
- https://snyk.io/vuln/SNYK-PYTHON-STREAMLIT-5880413
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-5563628
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-6134594
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-6135747
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-5926907
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-6002459
- https://snyk.io/vuln/SNYK-PYTHON-VALIDATORS-6008990
Copy link

sweep-ai bot commented Dec 28, 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