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 Fixes 32 vulnerabilities - fix #1413 #1414

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

Conversation

alfellati
Copy link

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • requirements.txt
⚠️ Warning
transformers 4.30.2 has requirement tokenizers!=0.11.3,<0.14,>=0.11.1, but you have tokenizers 0.15.2.
qdrant-client 1.3.1 has requirement numpy<1.21; python_version < "3.8", but you have numpy 1.21.3.
platformdirs 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 4.5.0.
onnxruntime 1.14.1 has requirement numpy>=1.21.6, but you have numpy 1.21.3.
llama-index 0.6.35 requires tiktoken, which is not installed.
llama-index 0.6.35 requires langchain, which is not installed.
llama-index 0.6.35 has requirement fsspec>=2023.5.0, but you have fsspec 2023.1.0.
fake-useragent 1.1.3 has requirement importlib-metadata~=4.0; python_version < "3.8", but you have importlib-metadata 6.6.0.
chromadb 0.3.26 requires hnswlib, which is not installed.
chromadb 0.3.26 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
medium severity 554/1000
Why? Has a fix available, CVSS 6.8
Insufficient Verification of Data Authenticity
SNYK-PYTHON-CERTIFI-3164749
certifi:
2021.10.8 -> 2022.12.7
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Out-of-bounds Read
SNYK-PYTHON-PILLOW-1055461
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Out-of-bounds Read
SNYK-PYTHON-PILLOW-1055462
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Out-of-bounds Write
SNYK-PYTHON-PILLOW-1059090
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Out-of-bounds Read
SNYK-PYTHON-PILLOW-1080635
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PILLOW-1080654
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1081494
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1081501
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1081502
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 654/1000
Why? Has a fix available, CVSS 8.8
Heap-based Buffer Overflow
SNYK-PYTHON-PILLOW-1082329
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Insufficient Validation
SNYK-PYTHON-PILLOW-1082750
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1090584
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1090586
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1090587
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-1090588
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Out-of-bounds Read
SNYK-PYTHON-PILLOW-1292150
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Out-of-bounds Read
SNYK-PYTHON-PILLOW-1292151
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 494/1000
Why? Has a fix available, CVSS 5.6
Buffer Overflow
SNYK-PYTHON-PILLOW-1316216
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PILLOW-1319443
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-2329135
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Arbitrary Code Execution
SNYK-PYTHON-PILLOW-2331901
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Buffer Over-read
SNYK-PYTHON-PILLOW-2331905
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Improper Initialization
SNYK-PYTHON-PILLOW-2331907
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Improper Input Validation
SNYK-PYTHON-PILLOW-2397241
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-3113875
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-3113876
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 414/1000
Why? Has a fix available, CVSS 4
Out-of-Bounds
SNYK-PYTHON-PILLOW-574573
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 414/1000
Why? Has a fix available, CVSS 4
Out-of-bounds Read
SNYK-PYTHON-PILLOW-574574
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 414/1000
Why? Has a fix available, CVSS 4
Out-of-bounds Read
SNYK-PYTHON-PILLOW-574575
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 414/1000
Why? Has a fix available, CVSS 4
Out-of-bounds Read
SNYK-PYTHON-PILLOW-574576
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 469/1000
Why? Has a fix available, CVSS 5.1
Buffer Overflow
SNYK-PYTHON-PILLOW-574577
pillow:
6.2.2 -> 9.2.0
No No Known Exploit
medium severity 519/1000
Why? Has a fix available, CVSS 6.1
Information Exposure
SNYK-PYTHON-REQUESTS-5595532
requests:
2.27.1 -> 2.31.0
No No Known Exploit

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


Type of change

  • [ x ] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update

Checklist

  • [ x ] My pull request is atomic and focuses on a single change.
  • [ x ] I have read the contributing guide and my code conforms to the guidelines.
  • [ x ] I have documented my changes clearly and comprehensively.
  • [ ] I have added the required tests.

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-3164749
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055461
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1055462
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1059090
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080635
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1080654
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081494
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081501
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1081502
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082329
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1082750
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090584
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090586
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090587
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1090588
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1292150
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1292151
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1316216
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-1319443
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2329135
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331901
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331905
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2331907
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-2397241
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-3113875
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-3113876
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574573
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574574
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574575
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574576
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-574577
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532
@alfellati
Copy link
Author

fix #1413

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Copy link

codecov bot commented Apr 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.67%. Comparing base (eb94dcb) to head (4c657bc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1414   +/-   ##
=======================================
  Coverage   58.67%   58.67%           
=======================================
  Files         230      230           
  Lines       11213    11213           
  Branches     1212     1212           
=======================================
  Hits         6579     6579           
  Misses       4294     4294           
  Partials      340      340           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

None yet

3 participants