TransformerOptimus / SuperAGI

<⚡️> SuperAGI - A dev-first open source autonomous AI agent framework. Enabling developers to build, manage & run useful autonomous agents quickly and reliably.
https://superagi.com/
MIT License
15.48k stars 1.86k forks source link

Snyk Fixes 32 vulnerabilities - fix #1413 #1414

Closed balqaasem closed 1 month ago

balqaasem commented 7 months ago

Changes included in this PR

⚠️ 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

Checklist

balqaasem commented 7 months ago

fix #1413

CLAassistant commented 7 months ago

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.

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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

Additional details and impacted files ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.