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 18 vulnerabilities #2763

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

Conversation

ItayGabbay
Copy link
Member

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:
    • requirements/dev-requirements.txt
⚠️ Warning
xgboost 1.6.2 requires scipy, which is not installed.
umap-learn 0.5.4 requires scipy, which is not installed.
scikit-learn 1.0.2 requires scipy, which is not installed.
pynndescent 0.5.12 requires scipy, which is not installed.
pydocstyle 6.3.0 has requirement importlib-metadata<5.0.0,>=2.0.0; python_version < "3.8", but you have importlib-metadata 6.7.0.
matplotlib 3.5.3 requires fonttools, which is not installed.
matplotlib 3.5.3 requires pillow, which is not installed.
gower 0.0.5 requires scipy, which is not installed.
flake8 4.0.1 has requirement mccabe<0.7.0,>=0.6.0, but you have mccabe 0.7.0.
flake8 4.0.1 has requirement importlib-metadata<4.3; python_version < "3.8", but you have importlib-metadata 6.7.0.
coveralls 3.3.1 has requirement coverage!=6.0.*,!=6.1,!=6.1.1,<7.0,>=4.1, but you have coverage 7.2.7.
catboost 1.2.3 requires scipy, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
high severity 589/1000
Why? Has a fix available, CVSS 7.5
XML External Entity (XXE) Injection
SNYK-PYTHON-FONTTOOLS-6133203
fonttools:
4.38.0 -> 4.43.0
No No Known Exploit
medium severity 531/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 4.2
Remote Code Execution (RCE)
SNYK-PYTHON-IPYTHON-3318382
ipython:
7.34.0 -> 8.10.0
No Proof of Concept
medium severity 444/1000
Why? Has a fix available, CVSS 4.6
Access Control Bypass
SNYK-PYTHON-JUPYTERSERVER-5862881
jupyter-server:
1.24.0 -> 2.11.2
No No Known Exploit
medium severity 429/1000
Why? Has a fix available, CVSS 4.3
Open Redirect
SNYK-PYTHON-JUPYTERSERVER-5862882
jupyter-server:
1.24.0 -> 2.11.2
No No Known Exploit
medium severity 429/1000
Why? Has a fix available, CVSS 4.3
Generation of Error Message Containing Sensitive Information
SNYK-PYTHON-JUPYTERSERVER-6099119
jupyter-server:
1.24.0 -> 2.11.2
No No Known Exploit
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.3.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.3.0
No No Known Exploit
high severity 726/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 8.1
Eval Injection
SNYK-PYTHON-PILLOW-6182918
pillow:
9.5.0 -> 10.3.0
No Proof of Concept
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219984
pillow:
9.5.0 -> 10.3.0
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219986
pillow:
9.5.0 -> 10.3.0
No No Known Exploit
high severity 651/1000
Why? Recently disclosed, Has a fix available, CVSS 7.3
Buffer Overflow
SNYK-PYTHON-PILLOW-6514866
pillow:
9.5.0 -> 10.3.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:
40.5.0 -> 65.5.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

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

🦉 XML External Entity (XXE) Injection
🦉 Remote Code Execution (RCE)
🦉 Access Control Bypass
🦉 More lessons are available in Snyk Learn

@ItayGabbay ItayGabbay requested a review from noamzbr as a code owner April 8, 2024 22:23
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

2 participants