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 3 vulnerabilities #40

Closed
wants to merge 1 commit into from

Conversation

spolti
Copy link
Owner

@spolti spolti commented Dec 20, 2023

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:
    • docs/samples/explanation/aif/germancredit/server/requirements.txt
⚠️ Warning
scikit-learn 1.0.2 requires scipy, which is not installed.
ray 2.0.0 has requirement grpcio<=1.43.0,>=1.28.1; python_version < "3.10", but you have grpcio 1.60.0.
ray 2.0.0 has requirement protobuf<4.0.0,>=3.15.3, but you have protobuf 4.24.4.
kubernetes 28.1.0 has requirement urllib3<2.0,>=1.24.2, but you have urllib3 2.0.7.
kserve 0.10.2 has requirement avro>=1.11.0, but you have avro file-.avro-VERSION.txt.
kserve 0.10.2 has requirement numpy>=1.21.5, but you have numpy 1.21.3.
fastapi 0.88.0 has requirement pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2, but you have pydantic 2.5.2.
fastapi 0.88.0 has requirement starlette==0.22.0, but you have starlette 0.29.0.
botocore 1.33.13 has requirement urllib3<1.27,>=1.25.4; python_version < "3.10", but you have urllib3 2.0.7.
aif360 0.5.0 requires scipy, which is not installed.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
high severity 661/1000
Why? Recently disclosed, 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 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-STARLETTE-3319937
starlette:
0.22.0 -> 0.27.0
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.22.0 -> 0.27.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:

🦉 XML External Entity (XXE) Injection
🦉 Denial of Service (DoS)
🦉 Directory Traversal

@spolti spolti closed this Jan 11, 2024
@spolti spolti deleted the snyk-fix-44e9ab4b68e92f2a8cf1629321fe185b branch June 26, 2024 19:02
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