stable-diffusion-streamlit icon indicating copy to clipboard operation
stable-diffusion-streamlit copied to clipboard

[Snyk] Fix for 25 vulnerabilities

Open LowinLi opened this issue 2 years ago • 0 comments

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:
    • src/stable-diffusion-streamlit/requirements.txt
⚠️ Warning
torch 1.13.1 requires nvidia-cudnn-cu11, which is not installed.
torch 1.13.1 requires nvidia-cublas-cu11, which is not installed.
torch 1.13.1 requires nvidia-cuda-runtime-cu11, which is not installed.
torch 1.13.1 requires nvidia-cuda-nvrtc-cu11, which is not installed.
sahi 0.11.15 has requirement opencv-python<=4.8, but you have opencv-python 4.9.0.80.
onnxruntime 1.12.1 requires sympy, which is not installed.
onnx 1.13.0 has requirement protobuf<4,>=3.20.2, but you have protobuf 4.24.4.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
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
high severity 696/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Directory Traversal
SNYK-PYTHON-ONNX-2395479
onnx:
1.12.0 -> 1.13.0
No Proof of Concept
critical severity 909/1000
Why? Mature exploit, Has a fix available, CVSS 9.6
Heap-based Buffer Overflow
SNYK-PYTHON-OPENCVPYTHON-5926695
opencv-python:
4.7.0.72 -> 4.8.1.78
No Mature
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.2.0
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.2.0
No No Known Exploit
high severity 798/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.1
Eval Injection
SNYK-PYTHON-PILLOW-6182918
pillow:
9.5.0 -> 10.2.0
No Proof of Concept
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219984
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219986
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
medium severity 499/1000
Why? Has a fix available, CVSS 5.7
Denial of Service (DoS)
SNYK-PYTHON-PROTOBUF-3031740
protobuf:
3.20.1 -> 3.20.2
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:
12.0.1 -> 14.0.1
No No Known Exploit
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.13.0 -> 1.30.0
No Proof of Concept
medium severity 429/1000
Why? Has a fix available, CVSS 4.3
Directory Traversal
SNYK-PYTHON-STREAMLIT-6156621
streamlit:
1.13.0 -> 1.30.0
No No Known Exploit
high severity 579/1000
Why? Has a fix available, CVSS 7.3
XML External Entity (XXE) Injection
SNYK-PYTHON-SYMPY-6084333
sympy:
1.10.1 -> 1.12
No No Known Exploit
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Command Injection
SNYK-PYTHON-TORCH-3149871
torch:
1.10.0 -> 1.13.1
No No Known Exploit
low severity 384/1000
Why? Has a fix available, CVSS 3.4
Open Redirect
SNYK-PYTHON-TORNADO-5537286
tornado:
6.2 -> 6.3.3
No No Known Exploit
medium severity 494/1000
Why? Has a fix available, CVSS 5.6
HTTP Request Smuggling
SNYK-PYTHON-TORNADO-5840803
tornado:
6.2 -> 6.3.3
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
HTTP Request Smuggling
SNYK-PYTHON-TORNADO-6041512
tornado:
6.2 -> 6.3.3
No No Known Exploit
medium severity 484/1000
Why? Has a fix available, CVSS 5.4
Open Redirect
SNYK-PYTHON-TRANSFORMERS-3092483
transformers:
4.22.2 -> 4.37.0
No No Known Exploit
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.22.2 -> 4.37.0
No Proof of Concept
high severity 711/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.8
Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6134594
transformers:
4.22.2 -> 4.37.0
No Proof of Concept
critical severity 771/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 9
Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6135747
transformers:
4.22.2 -> 4.37.0
No Proof of Concept
medium severity 611/1000
Why? Recently disclosed, Has a fix available, CVSS 6.5
Command Injection
SNYK-PYTHON-TRANSFORMERS-6220003
transformers:
4.22.2 -> 4.37.0
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:

🦉 NULL Pointer Dereference 🦉 Directory Traversal 🦉 Uncontrolled Resource Consumption ('Resource Exhaustion') 🦉 More lessons are available in Snyk Learn

LowinLi avatar Feb 05 '24 03:02 LowinLi